2026-07-22 16:59:55 +08:00
|
|
|
use lcrconn::spec;
|
|
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
|
fn test_spec_preset() {
|
|
|
|
|
// All individual preset and catalog preset should nit panic
|
2026-07-22 20:27:34 +08:00
|
|
|
let _ = spec::SpecGroup::resistor_preset();
|
|
|
|
|
let _ = spec::SpecGroup::capacitor_preset();
|
|
|
|
|
let _ = spec::SpecGroup::inductor_preset();
|
2026-07-22 16:59:55 +08:00
|
|
|
|
2026-07-22 20:27:34 +08:00
|
|
|
let _ = spec::SpecCatalog::devices_preset();
|
2026-07-22 16:59:55 +08:00
|
|
|
}
|