Watch
2
0
Fork
You've already forked raylib-cs
0

Update tests and dll resolver

This commit is contained in:
Rgebee 2026-05-17 19:18:50 +01:00
commit eb48e471d8
5 changed files with 45 additions and 94 deletions

View file

@ -1,7 +1,18 @@
using System.Runtime.CompilerServices;
using Xunit;
namespace Raylib_cs.Tests;
using System.Collections.Generic;
public static class BlittableHelper
{
public static bool IsBlittable<T>()
{
return !RuntimeHelpers.IsReferenceOrContainsReferences<T>();
}
}
public class RaylibTests
{
private unsafe void CheckType<T>() where T : unmanaged