Files @ b69f417a9972
Branch filter:

Location: CSY/reowolf/src/protocol/tests/mod.rs

b69f417a9972 592 B application/rls-services+xml Show Annotation Show as Raw Download as Raw
MH
implement EvalError, slicing expression
/**
 * protocol/tests.rs
 *
 * Contains tests for various parts of the lexer/parser and the evaluator of the
 * code. These are intended to be temporary tests such that we're sure that we
 * don't break existing functionality.
 *
 * In the future these should be replaced by proper testing protocols.
 */

mod utils;
mod lexer;
mod parser_validation;
mod parser_inference;
mod parser_monomorphs;
mod parser_imports;
mod eval_operators;
mod eval_calls;
mod eval_silly;

pub(crate) use utils::{Tester}; // the testing harness
pub(crate) use crate::protocol::eval::value::*; // to test functions