Hi,
I am getting this error and cannot solve it. Could you help me out?
Error: Data-type mismatch for Test Case 1.
Error: Wrong output for Test Case 1.
Error: Wrong output for Test Case 3.
Error: Wrong output for Test Case 4.
Error: Wrong output for Test Case 5.
3 Tests passed
5 Tests failed
AssertionError Traceback (most recent call last)
in
1 # test cell ex1 - do not modify this test cell
----> 2 harrell_c_test(harrell_c)
~/work/W4A1/public_tests.py in harrell_c_test(target)
191 ]
192
→ 193 multiple_test(test_cases, target)
194
195
~/work/W4A1/test_utils.py in multiple_test(test_cases, target)
121 print(‘\033[92m’, success," Tests passed")
122 print(‘\033[91m’, len(test_cases) - success, " Tests failed")
→ 123 raise AssertionError(“Not all tests were passed for {}. Check your equations and avoid using global variables inside the function.”.format(target.name))
AssertionError: Not all tests were passed for harrell_c. Check your equations and avoid using global variables inside the function.
My lab ID: gkyrvufjsbgl
Thank you!