1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added missing test for "HasFlags"

This commit is contained in:
Simon Lübeß 2025-03-16 12:56:25 +01:00
parent 8095ddaa66
commit a4a25d4353

View file

@ -292,6 +292,9 @@ namespace Tests
Test.Assert(sizeof(EnumN) == sizeof(System.Interop.c_int));
Test.Assert(value.HasFlag(.A) == false);
Test.Assert(value.HasFlag(.B) == true);
Test.Assert(value.Underlying == 1);
ref System.Interop.c_int valueRef = ref value.UnderlyingRef;