Select Git revision
test_borrow.rs 1.61 KiB
use erode::borrow::*;
#[test]
fn minmal_test() {
eval_prog("examples/minimal.rs");
}
#[test]
fn ref_test() {
eval_prog("examples/ref.rs");
}
#[test]
fn assign_test() {
eval_prog("examples/assign.rs");
}
#[test]
fn ref_mut_test() {
eval_prog("examples/ref_mut.rs");
}
#[test]
fn deref_test() {
eval_prog("examples/deref.rs");
}
#[test]
fn deref2_test() {
eval_prog("examples/deref2.rs");
}
#[test]
fn deref3_test() {
eval_prog("examples/deref3.rs");
}
#[test]
fn deref_assign_test() {
eval_prog("examples/deref_assign.rs");
}
#[test]
fn deref_assign2_test() {
eval_prog("examples/deref_assign2.rs");
}
#[test]
fn deref_assign3_test() {
eval_prog("examples/deref_assign3.rs");
}
#[test]
fn scopes_test() {
eval_prog("examples/scopes.rs");
}
#[test]
fn scopes_err_test() {
eval_prog("examples/scopes_err.rs");
}
#[test]
fn vm_test() {
eval_prog("examples/vm.rs");
}
#[test]
fn if_test() {
eval_prog("examples/if.rs");
}
#[test]
fn while_test() {
eval_prog("examples/while.rs");
}
#[test]
fn let_test() {
eval_prog("examples/let.rs");
}
#[test]
fn let2_test() {
eval_prog("examples/let2.rs");
}
#[test]
fn call_test() {
eval_prog("examples/call.rs");
}
#[test]
fn call2_test() {
eval_prog("examples/call2.rs");
}
#[test]
fn call3_test() {
eval_prog("examples/call3.rs");
}
#[test]
fn call_ref_test() {
eval_prog("examples/call_ref.rs");
}
#[test]
fn call_mut_ref_test() {
eval_prog("examples/call_mut_ref.rs");
}
#[test]
fn borrow() {
eval_prog("examples/borrow.rs");
}
#[test]
fn borrow2() {
eval_prog("examples/borrow2.rs");
}