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:
parent
8095ddaa66
commit
a4a25d4353
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue