mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 01:18:02 +02:00
Initial checkin
This commit is contained in:
parent
c74712dad9
commit
078564ac9e
3242 changed files with 1616395 additions and 0 deletions
19
IDEHelper/Tests/src/Precedence.bf
Normal file
19
IDEHelper/Tests/src/Precedence.bf
Normal file
|
@ -0,0 +1,19 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue