def testValue_5(self): self.assertEqual(collatz(5), 16)
def testTypeError(self): with self.assertRaises(TypeError): collatz('aeou')
def test_assertRaises(self): self.assertRaises(collatz('aoeu'))
def testValue_8(self): self.assertEqual(collatz(8), 4)
def test_output_validation_for_8(self): self.assertTrue(collatz(8) == 4)
def test_output_validation_for_5(self): self.assertTrue(collatz(5) == 16)
def test_if_returns_sixteen(self): self.assertEqual(the_collatz_sequence.collatz(5), 16)
def test_if_returns_four(self): self.assertEqual(the_collatz_sequence.collatz(8), 4)
def test_type_error(self): with self.assertRaises(TypeError): collatz('aoeu')
def test_return_value_2(self): self.assertEqual(collatz(5), 16)
def test_return_value_1(self): self.assertEqual(collatz(8), 4)