rhai/tests
Stephen Chung 97295a66da Fix test.
2022-01-05 13:24:52 +08:00
..
arrays.rs Add test for capturing closures in array method. 2021-11-23 22:56:31 +08:00
assignments.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
binary_ops.rs Implement built-in operators with macros. 2021-03-03 21:46:48 +08:00
bit_shift.rs Add ranges. 2021-12-15 12:06:17 +08:00
blobs.rs Fix blob test. 2021-12-31 19:34:43 +08:00
bool_op.rs Catch more parse errors. 2021-07-04 00:15:27 +08:00
call_fn.rs Add test for call_fn_raw. 2021-12-19 23:22:14 +08:00
chars.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
closures.rs Add FnPtr::call_within_context. 2021-11-29 12:43:59 +08:00
comments.rs Remove unnecessary raw stirngs. 2021-06-05 15:26:43 +08:00
compound_equality.rs
constants.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
custom_syntax.rs Fix builds. 2021-12-18 17:59:32 +08:00
data_size.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
decrement.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
eval.rs Add tests. 2021-12-30 12:23:35 +08:00
expressions.rs Reduce usage of Default::default() to make it easier to refactor. 2021-11-07 18:12:37 +08:00
float.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
fn_ptr.rs Minor refactor. 2021-12-02 12:49:46 +08:00
for.rs Fix builds. 2021-12-31 18:55:48 +08:00
functions.rs Add tests. 2021-12-30 12:23:35 +08:00
get_set.rs Merge branch 'bug-fixes' 2021-09-28 16:55:33 +08:00
if_block.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
increment.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
internal_fn.rs Use actual outer scope for function-bang calls. 2021-11-14 22:48:57 +08:00
looping.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
maps.rs Refine posistion display. 2021-04-23 14:24:53 +08:00
math.rs
method_call.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
mismatched_op.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
modules.rs Add ranges. 2021-12-15 12:06:17 +08:00
native.rs Remove volatile warnings for types and functions exposed unter internals. 2021-11-28 22:03:02 +08:00
not.rs
number_literals.rs Fix bug in hex parsing for negative numbers. 2021-12-18 17:07:30 +08:00
operations.rs Add ranges. 2021-12-15 12:06:17 +08:00
ops.rs Fix test. 2022-01-05 13:24:52 +08:00
optimizer.rs Remove Option from source and use empty string as no source. 2022-01-01 17:20:00 +08:00
options.rs Add strict variables mode. 2021-12-04 17:57:28 +08:00
packages.rs
plugins_register.rs
plugins_unroll.rs Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
plugins.rs Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
power_of.rs Use ** for power/exponentiation. 2021-02-10 12:41:27 +08:00
print.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
README.md
serde.rs Merge branch 'v1.3-fixes' 2021-12-16 16:10:39 +08:00
side_effects.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
stack.rs Add test for parsing overflow. 2021-10-18 16:40:54 +08:00
string.rs Add "" and `` in string literals. 2021-12-09 13:34:51 +08:00
switch.rs Add ranges. 2021-12-15 12:06:17 +08:00
throw.rs Fix bug in catch error variable. 2021-09-03 10:05:58 +08:00
time.rs Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
tokens.rs Allow non-custom reserved symbols in custom syntax. 2021-12-16 18:01:49 +08:00
types.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
unary_after_binary.rs
unary_minus.rs
unit.rs
var_scope.rs Replace unwrap with expect. 2021-05-22 19:14:24 +08:00
while_loop.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00

Tests

Rhai engine tests.

How to Run

cargo test