Skip to content

Commit

Permalink
#1 Updating per informal review
Browse files Browse the repository at this point in the history
Updating per comments in informal review here 97695a0
Creating branch due to severity and needs to be reviewed by someone else
  • Loading branch information
acorbin3 committed Jan 29, 2019
1 parent 37bf4cb commit e70edb7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions 7_Test_Procedures/math_lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
def test_res(res):
return "Pass" if res else "Fail"

print("Match_TC_1 result: " + test_res(pow_native(0, 0) == 1))
print("Match_TC_2 result: " + test_res(pow_native(10, 0) == 1))
print("Math_TC_1 result: " + test_res(pow_native(0, 0) == 1))
print("Math_TC_2 result: " + test_res(pow_native(10, 0) == 1))

print("Match_TC_3 result: " + test_res(pow_native(2, 2) == 4))
print("Match_TC_4 result: " + test_res(pow_native(3, 5) == 243))
print("Math_TC_3 result: " + test_res(pow_native(2, 2) == 4))
print("Math_TC_4 result: " + test_res(pow_native(3, 5) == 243))

print("Match_TC_5 result: " + test_res(pow_native(4, -4) == 0.00390625))
print("Match_TC_5 result: " + test_res(pow_native(2, -7) == 1))
print("Math_TC_5 result: " + test_res(pow_native(4, -4) == 0.00390625))
print("Math_TC_6 result: " + test_res(pow_native(2, -7) == 0.00781251))

print("Match_TC_7 result: " + test_res(pow_native(0, -1) == 1))
print("Math_TC_7 result: " + test_res(pow_native(0, -1) == 1))

0 comments on commit e70edb7

Please sign in to comment.