1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-15 14:54:09 +02:00
Beef/IDEHelper/Tests/src/Precedence.bf
2019-08-23 11:56:54 -07:00

19 lines
274 B
Beef

using System;
namespace Tests
{
class Precedence
{
[Test]
static void Test()
{
int a = -1;
bool b = true;
bool c = true;
if (a == -1 && b && c)
a = 2;
Test.Assert(a == 2);
Test.Assert(1*10 + 2 + 3 + 5*100*10 + 6*10000 == 65015);
}
}
}