mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 07:14:09 +02:00
23 lines
260 B
Beef
23 lines
260 B
Beef
![]() |
#pragma warning disable 168
|
||
|
|
||
|
using System;
|
||
|
|
||
|
namespace Tests
|
||
|
{
|
||
|
class Expressions
|
||
|
{
|
||
|
[Test]
|
||
|
public static void TestBasics()
|
||
|
{
|
||
|
int num = -1;
|
||
|
if ( {
|
||
|
var obj = scope Object();
|
||
|
num > 999
|
||
|
})
|
||
|
{
|
||
|
Test.FatalError();
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|