diff options
author | TinWoodman92 <chrhodgden@gmail.com> | 2023-07-05 20:24:51 -0500 |
---|---|---|
committer | TinWoodman92 <chrhodgden@gmail.com> | 2023-07-05 20:24:51 -0500 |
commit | 5452b6e9ea534fa1f7679a0075f974d18850e93c (patch) | |
tree | 68e1f2774dbc07bcf7c3fc050d1bbe676562569d /test_import_variable.py | |
parent | 3d2424418674f6d3dca277c46b5ea9414d859834 (diff) |
Added import double test.
Diffstat (limited to 'test_import_variable.py')
-rw-r--r-- | test_import_variable.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test_import_variable.py b/test_import_variable.py index 23ce283..0faf73a 100644 --- a/test_import_variable.py +++ b/test_import_variable.py @@ -36,6 +36,12 @@ class TestImportVariable(unittest.TestCase): self.assertEqual(chk_1, True) self.assertEqual(chk_2, False) + def test_import_double(self): + dbl_1 = self.src_fil_r.import_variable('dbl_1') + dbl_2 = self.src_fil_r.import_variable('dbl_2') + self.assertEqual(dbl_1, 3) + self.assertEqual(dbl_2, 12.345) + if __name__ == '__main__': unittest.main() |