mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Support System.Compiler values in comptime, SetReturnType, Enum helpers
This commit is contained in:
parent
0e86b5c49d
commit
2a55b5c7bb
14 changed files with 341 additions and 63 deletions
|
@ -137,6 +137,10 @@ namespace Tests
|
|||
EnumG eg = .A;
|
||||
eg.Set(66);
|
||||
Test.Assert(eg == .B);
|
||||
|
||||
var ea = EnumA.MaxValue;
|
||||
Test.Assert(ea == .B);
|
||||
Test.Assert(EnumA.Count == 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue