Skip to content
Snippets Groups Projects
Commit 2bb073ea authored by abhishek-0802's avatar abhishek-0802
Browse files

Unittest in testeular

parent 51e306e2
No related branches found
No related tags found
No related merge requests found
...@@ -114,7 +114,7 @@ class TestEuler(unittest.TestCase): ...@@ -114,7 +114,7 @@ class TestEuler(unittest.TestCase):
for a, b, c, d, e, f, g in [(None, 2, 6, 8, 7, 8, 'xyz'), for a, b, c, d, e, f, g in [(None, 2, 6, 8, 7, 8, 'xyz'),
(9.0, 'er', 2, 3, 3, 5, 'xyz'), (9.0, 'er', 2, 3, 3, 5, 'xyz'),
(5.0, 4.0, None, 8.0, 8.0, 4.0, 'xyz'), (5.0, 4.0, None, 8.0, 8.0, 4.0, 'xyz'),
(np.nan, 8.0, 7.0, '0', 6.0, 9.0, 'xyz'), (np.nan, 8.0, 7.0, '0', 6.0, None, 'xyz'),
(4.0, 2.0, 1.0, 3.0, 'w', 2.0, 'xyz'), (4.0, 2.0, 1.0, 3.0, 'w', 2.0, 'xyz'),
(1.0, 2.0, 3.0, 4.0, None, 4, 'xyz')]: (1.0, 2.0, 3.0, 4.0, None, 4, 'xyz')]:
with self.assertRaises(TypeError): with self.assertRaises(TypeError):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment