mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
19 lines
274 B
Beef
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);
|
|
}
|
|
}
|
|
}
|