Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit f6b3362

Browse files
committed
πŸŽ†πŸŽ‡ 200 tests! πŸŽ†πŸŽ‡
1 parent 969da52 commit f6b3362

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

β€Žtests/compiler.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,16 @@ block
505505
ix = #x >= #y
506506
#test = stats/sum(column: #x{ix})", Value::F32(F32::new(5.0)));
507507

508+
test_mech!(compare_scalar_table,"
509+
x = 15
510+
y = [11 12; 13 14]
511+
#test = set/all(table: x > y)", Value::Bool(true));
512+
513+
test_mech!(compare_table_scalar,"
514+
x = 15
515+
y = [11 12; 13 14]
516+
#test = set/all(table: y < x)", Value::Bool(true));
517+
508518
test_mech!(compare_greater_than_equal_alt,"
509519
block
510520
#x = [1; 2; 3]

0 commit comments

Comments
Β (0)