diff --git a/unittests/order_of_operations.chai b/unittests/order_of_operations.chai new file mode 100644 index 0000000..c07ce79 --- /dev/null +++ b/unittests/order_of_operations.chai @@ -0,0 +1,7 @@ + + +var s = "" + +s += to_string(fun[s](){ s += "3"; 3}() % fun[s](){ s += "2"; 2}()); + +assert_equal(s, "321");