add math test routine to dabao-console

This commit is contained in:
bunnie 2026-02-20 23:54:49 +08:00
parent 8f709216d6
commit 19d8294369

View file

@ -76,6 +76,11 @@ impl<'a> ShellCmdApi<'a> for Test {
log::info!("{}", line);
}
}
#[cfg(feature = "bio-math-test")]
"cos" => {
let mut math = bio_lib::c::math_test::MathTest::new().unwrap();
math.test_cos();
}
"env" => {
log::info!("{:?}", std::env::vars());
}