tremor-script 0.8.0

Tremor Script Interpreter
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
### The `test` module is used for writing tremor unit tests.

## Runs an assertion for a test, ensures that `expected` and `got` are the
## same. If not errors.
##
## **WARNING**: Do not run assertions in production code!
##  
## ```tremor
## assert("one equals one", 1, 1) == true; # suces
## assert("one equals one", 1, 2); # errors
## ```
##
## Returns an `bool`.
intrinsic fn assert(name, expected, got) as test::assert;