refactor: finish refactor of kernel

This commit is contained in:
2026-07-22 20:27:34 +08:00
parent 5a41c6266c
commit 782bd86407
7 changed files with 254 additions and 215 deletions
+4 -4
View File
@@ -3,9 +3,9 @@ use lcrconn::spec;
#[test]
fn test_spec_preset() {
// All individual preset and catalog preset should nit panic
let specs = spec::SpecGroup::resistor_preset();
let specs = spec::SpecGroup::capacitor_preset();
let specs = spec::SpecGroup::inductor_preset();
let _ = spec::SpecGroup::resistor_preset();
let _ = spec::SpecGroup::capacitor_preset();
let _ = spec::SpecGroup::inductor_preset();
let specs = spec::SpecCatalog::devices_preset();
let _ = spec::SpecCatalog::devices_preset();
}