mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 01:18:02 +02:00
New tests
This commit is contained in:
parent
b3cc0b5be4
commit
fc063a65c1
3 changed files with 57 additions and 0 deletions
|
@ -21,5 +21,12 @@ namespace Tests
|
|||
Test.Assert(Math.Min((int64)-1, (int64)0) == -1);
|
||||
Test.Assert(Math.Max((int64)-1, (int64)0) == 0);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void TestLiterals()
|
||||
{
|
||||
Test.Assert(0b0111010110111100110100010101 == 123456789);
|
||||
Test.Assert(0o726746425 == 123456789);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue