rhai/tests
Stephen Chung 640471f865 Revert "Enable capacity on packages."
This reverts commit 85ca6ec4a1.
2022-09-14 15:17:36 +08:00
..
arrays.rs Add fast-ops feature. 2022-09-02 23:45:25 +08:00
assignments.rs Use String::new() for empty strings. 2022-08-21 17:35:44 +08:00
binary_ops.rs Add null coalescing operator. 2022-06-10 11:22:33 +08:00
bit_fields.rs Fix test for only_i32. 2022-01-14 23:19:27 +08:00
blobs.rs Minor refactor. 2022-03-09 09:25:55 +08:00
bool_op.rs Catch more parse errors. 2021-07-04 00:15:27 +08:00
build_type.rs Shut up clippy. 2022-08-29 14:27:05 +08:00
call_fn.rs Use turbofish for impl Trait. 2022-08-12 22:48:15 +08:00
chars.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
closures.rs Fix sync feature. 2022-09-10 13:46:14 +08:00
comments.rs Change eval<()> to run. 2022-01-10 13:26:33 +08:00
compound_equality.rs Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
constants.rs Simplify using .. 2022-02-08 09:02:15 +08:00
custom_syntax.rs Add state to custom syntax. 2022-09-12 12:03:32 +08:00
data_size.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
debugging.rs Fix tests. 2022-08-20 22:19:29 +08:00
decrement.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
eval.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
expressions.rs Allow if-expressions and switch-expressions in Engine::eval_expression. 2022-08-26 23:10:58 +08:00
float.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
fn_ptr.rs Add function pointer short-hand. 2022-08-05 23:30:44 +08:00
for.rs Fix builds. 2021-12-31 18:55:48 +08:00
functions.rs Remove _result registration methods. 2022-08-22 22:16:26 +08:00
get_set.rs Remove _result registration methods. 2022-08-22 22:16:26 +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 Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
looping.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
maps.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
math.rs Simplify using .. 2022-02-08 09:02:15 +08:00
method_call.rs Fix bug with eager optimization of method calls. 2022-03-04 12:22:44 +08:00
mismatched_op.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
modules.rs Add test to recreate NativeCallContext. 2022-08-26 16:20:23 +08:00
native.rs Make fast operators the default. 2022-09-03 22:07:36 +08:00
not.rs Allow stacking ! operators. 2021-01-24 21:21:15 +08:00
number_literals.rs Fix bug in hex parsing for negative numbers. 2021-12-18 17:07:30 +08:00
operations.rs Use .. for (_). 2022-02-08 09:46:14 +08:00
ops.rs Simplify using .. 2022-02-08 09:02:15 +08:00
optimizer.rs Make fast operators the default. 2022-09-03 22:07:36 +08:00
options.rs Fix test. 2022-08-30 12:31:47 +08:00
packages.rs Revert "Enable capacity on packages." 2022-09-14 15:17:36 +08:00
plugins_register.rs Revise docs. 2020-09-28 22:14:19 +08:00
plugins_unroll.rs Refactor wasm feature gates. 2022-01-04 22:16:20 +08:00
plugins.rs Make fast operators the default. 2022-09-03 22:07:36 +08:00
power_of.rs Use ** for power/exponentiation. 2021-02-10 12:41:27 +08:00
print.rs Use identifiers in format! 2022-08-11 19:01:23 +08:00
README.md Add README's. 2020-10-07 22:56:21 +08:00
serde.rs Use identifiers in format! 2022-08-11 19:01:23 +08:00
side_effects.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
stack.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
string.rs Fix bug in constant interpolated string. 2022-07-29 10:49:03 +08:00
switch.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
throw.rs Simplify using .. 2022-02-08 09:02:15 +08:00
time.rs Use target_family for wasm. 2022-01-12 08:12:28 +08:00
tokens.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +08:00
types.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
unary_after_binary.rs
unary_minus.rs Implement variable resolver. 2020-10-11 21:58:11 +08:00
unit.rs Add Token::Unit. 2022-04-21 10:04:46 +08:00
var_scope.rs Add ParseError:err_type and ParseError::position. 2022-07-29 09:42:30 +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