rhai/tests
2021-03-17 22:32:22 +08:00
..
arrays.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
assignments.rs More code refinements. 2020-12-29 10:41:20 +08:00
binary_ops.rs Implement built-in operators with macros. 2021-03-03 21:46:48 +08:00
bit_shift.rs Fix internals build. 2021-03-08 15:55:26 +08:00
bool_op.rs Optimize in-place. 2020-11-12 12:37:42 +08:00
call_fn.rs Add test with &str parameter. 2021-03-17 22:32:22 +08:00
chars.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
closures.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
comments.rs Rename set_doc_comments to enable_doc_comments. 2021-01-28 16:59:19 +08:00
compound_equality.rs Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
constants.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
data_size.rs Add constant NO_POS. 2020-11-02 12:50:27 +08:00
decrement.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
eval.rs Keyword can no longer be overloaded. 2021-03-01 17:17:13 +08:00
expressions.rs Update URL links. 2021-01-07 17:30:06 +08:00
float.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
fn_ptr.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
for.rs Deprecate Module::set_fn_XXX API. 2021-03-15 12:39:06 +08:00
functions.rs Fix unchecked build. 2021-03-17 15:26:37 +08:00
get_set.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
if_block.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
increment.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
internal_fn.rs Allow stacking ! operators. 2021-01-24 21:21:15 +08:00
looping.rs Simply test error matching. 2020-08-08 16:03:14 +08:00
maps.rs Map in operator to contains function call. 2021-03-09 13:44:54 +08:00
math.rs Change trig functions to take/return radians. 2021-02-10 12:10:50 +08:00
method_call.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
mismatched_op.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
modules.rs Remove public_only parameters. 2021-03-17 09:58:08 +08:00
native.rs Make RhaiResult internal. 2021-03-03 22:49:29 +08:00
not.rs Allow stacking ! operators. 2021-01-24 21:21:15 +08:00
number_literals.rs Enable dots on numbers to parse as method calls. 2020-09-23 22:48:28 +08:00
operations.rs Wrap eval errors in ErrorInFunctionCall. 2021-02-18 14:33:12 +08:00
ops.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
optimizer.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
packages.rs Engine::register_global_module and Engine::register_static_module must be passed shared Module. 2020-12-23 10:08:43 +08:00
plugins_register.rs Revise docs. 2020-09-28 22:14:19 +08:00
plugins_unroll.rs Engine::register_global_module and Engine::register_static_module must be passed shared Module. 2020-12-23 10:08:43 +08:00
plugins.rs Make RhaiResult internal. 2021-03-03 22:49:29 +08:00
power_of.rs Use ** for power/exponentiation. 2021-02-10 12:41:27 +08:00
print.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
README.md Add README's. 2020-10-07 22:56:21 +08:00
serde.rs Fix metadata build. 2021-03-05 23:56:00 +08:00
side_effects.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
stack.rs Fix call stack limits. 2020-12-29 12:29:45 +08:00
string.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
switch.rs Fix switch of non-hashable value. 2021-03-05 10:33:48 +08:00
syntax.rs Emphasize custom syntax are expressions. 2020-12-17 10:42:20 +08:00
throw.rs Fix throw test. 2020-10-20 23:30:01 +08:00
time.rs Implement +/- operators for timestamp. 2020-09-26 19:45:33 +08:00
tokens.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
types.rs Deprecate RegisterFn and RegisterResultFn. 2021-03-15 11:36:30 +08:00
unary_after_binary.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
unary_minus.rs Implement variable resolver. 2020-10-11 21:58:11 +08:00
unit.rs Make all public API's return Box<EvalAltResult> to reduce footprint. 2020-04-21 23:25:12 +08:00
var_scope.rs Disallow overriding keywords. 2021-03-01 22:44:56 +08:00
while_loop.rs do loop. 2020-11-20 22:23:37 +08:00

Tests

Rhai engine tests.

How to Run

cargo test