//literals
if (true)
	assert true, "if-then-else 1";
else
	assert false, "if-then-else 1";

//false literals
if (false)
	assert false, "if-then-else 2";
else
	assert true, "if-then-else 2";

//conditionals
if (1 < 2)
	assert true, "if-then-else 3";
if (1 > 2)
	assert false, "if-then-else 3";

//variables
var a = 42;

if (a)
	assert true, "if-then-else 4";
else
	assert false, "if-then-else 4";

if (a == 42)
	assert true, "if-then-else 5";
else
	assert false, "if-then-else 5";

//concatenated strings
if ("foo" .. "bar" == "foobar")
	assert true, "if-then-else 6";
else
	assert false, "if-then-else 6";

if ("foobar" == "foo" .. "bar")
	assert true, "if-then-else 7";
else
	assert false, "if-then-else 7";

if ("fizz" .. "le" == "fi" .. "zzle")
	assert true, "if-then-else 8";
else
	assert false, "if-then-else 8";
