From 058de290358cc43ba6247eb671e4101b2f7abd15 Mon Sep 17 00:00:00 2001 From: Dennis Marttinen Date: Wed, 23 Jun 2021 14:52:24 +0300 Subject: [PATCH] Remove unused test function that fails compilation with `expr_builder` disabled The function is unused and not part of any test either, additionally what it "tests" for is covered by both the main function and doctests, so I think it's safe to remove it altogether. --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 612b467..bdedb1d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -122,12 +122,6 @@ lazy_static! { ]); } -pub(crate) fn _test_calc() -> RRes { - let r = RCalc::e3(2); - r.calc(ROpBuilder::new().bound("R1 + R2 ~ 500").finish()) - .unwrap() -} - /// A series of resistor values, constants are provided for standard resistor array values. #[derive(Debug)] pub struct RSeries {