Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_data/tests/main.rs

730 bytes, 5 runs

created by r1870400018:283, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1mod base2x;
2mod path;
3mod string;
4
5use oxedyne_fe2o3_core::prelude::*;
6
7#[test]
8fn main() -> Outcome<()> {
9
10 // Separate the tests out to a run_tests function so that we can funnel any outcome, be it an
11 // error or ok, back into this function before closing out with a single call to log_finish_wait! to
12 // allow logger thread completion. Otherwise, we may not see all the logger output before the
13 // main thread finishes.
14
15 log_set_level!("trace");
16
17 let outcome = run_tests();
18
19 log_finish_wait!();
20
21 outcome
22}
23
24fn run_tests() -> Outcome<()> {
25
26 let filter = "all";
27 res!(base2x::test_base2x(filter));
28 res!(path::test_path(filter));
29 res!(string::test_string(filter));
30
31 Ok(())
32}