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

Update tests and dll resolver (#336)

This commit is contained in:
Rgebee 2026-05-17 19:24:49 +01:00 committed by GitHub
commit a657bb6367
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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