From 19d82943695cfc70c73233c5fbe0690762e6c683 Mon Sep 17 00:00:00 2001 From: bunnie Date: Fri, 20 Feb 2026 23:54:49 +0800 Subject: [PATCH] add math test routine to dabao-console --- apps-dabao/dabao-console/src/cmds/test.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps-dabao/dabao-console/src/cmds/test.rs b/apps-dabao/dabao-console/src/cmds/test.rs index e1f5c1525..aaa47b1df 100644 --- a/apps-dabao/dabao-console/src/cmds/test.rs +++ b/apps-dabao/dabao-console/src/cmds/test.rs @@ -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()); }