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

Initial checkin

This commit is contained in:
Brian Fiete 2019-08-23 11:56:54 -07:00
parent c74712dad9
commit 078564ac9e
3242 changed files with 1616395 additions and 0 deletions

View file

@ -0,0 +1,25 @@
using System;
namespace Tests
{
class Ints
{
[Test]
public static void TestUInt64()
{
var str = scope String();
uint64 val = 0x11223344'55667788;
str.AppendF("{0:X}", val);
//Test.Assert(str == "1122334455667788");
}
[Test]
public static void TestInt64()
{
Test.Assert(Math.Min((int64)-1, (int64)0) == -1);
Test.Assert(Math.Max((int64)-1, (int64)0) == 0);
}
}
}