From ff5e124a006ec15bb435e1d07a6bfb4fb7525c72 Mon Sep 17 00:00:00 2001 From: jblu Date: Thu, 1 Sep 2022 12:59:04 -0500 Subject: [PATCH] added additonal tests to isoldtor function --- test_qbitmaid.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_qbitmaid.py b/test_qbitmaid.py index 230f397..8181b59 100644 --- a/test_qbitmaid.py +++ b/test_qbitmaid.py @@ -71,7 +71,9 @@ class TestQbitmaid(unittest.TestCase): self.assertTrue(isoldtor(1,2,4)) def test_isoldtor(self): - pass + self.assertFalse(isoldtor(1661150664,2419200,1662049004.2101078)) + self.assertFalse(isoldtor(1661150664,2419200,1662049004)) + self.assertFalse(isoldtor(1661150664.000000,2419200.0000000,1662049004.2101078)) def test_isprotectedoverratio_sanity(self): self.assertTrue(isprotectedoverratio(2,1,'a','a,b,c'))