rhai/tests
2021-08-17 15:51:14 +08:00
..
arrays.rs Fix bug in dotting-indexing. 2021-08-17 15:32:48 +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 Implement bit-fields. 2021-06-02 14:29:18 +08:00
bool_op.rs Catch more parse errors. 2021-07-04 00:15:27 +08:00
call_fn.rs Remove unnecessary raw stirngs. 2021-06-05 15:26:43 +08:00
chars.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
closures.rs Rename as_string and as_immutable_string. 2021-08-17 15:50:55 +08:00
comments.rs Remove unnecessary raw stirngs. 2021-06-05 15:26:43 +08:00
compound_equality.rs Fix bug in right-shifts. 2020-08-23 18:04:19 +08:00
constants.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
custom_syntax.rs Add Scope::is_constant. 2021-08-17 15:51:14 +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 Keyword can no longer be overloaded. 2021-03-01 17:17:13 +08:00
expressions.rs Fix test formatting. 2021-03-27 18:08:34 +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 Fix tests. 2021-06-07 11:54:10 +08:00
functions.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
get_set.rs Fix no_index build. 2021-05-18 21:38:09 +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 Remove unnecessary raw stirngs. 2021-06-05 15:26:43 +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 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 Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
modules.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
native.rs General code fixups. 2021-07-04 16:40:15 +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 Add Stmt::FnCall. 2021-04-21 18:16:24 +08:00
ops.rs Build in operators between string and char. 2021-02-25 13:29:49 +08:00
optimizer.rs Change AST nodes to use bitflags for options. 2021-08-03 22:19:25 +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 Intern module registration strings. 2021-03-24 09:56:25 +08:00
plugins.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +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 Add README's. 2020-10-07 22:56:21 +08:00
serde.rs Rename as_string and as_immutable_string. 2021-08-17 15:50:55 +08:00
side_effects.rs Change Engine::consume_XXX to Engine::run_XXX. 2021-08-17 15:50:56 +08:00
stack.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
string.rs Add no_position feature. 2021-04-22 23:02:25 +08:00
switch.rs General code fixups. 2021-07-04 16:40:15 +08:00
throw.rs Fix throw test. 2020-10-20 23:30:01 +08:00
time.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +08:00
tokens.rs Do not unnecessarily use raw strings. 2021-04-20 12:01:35 +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
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