by Tiranan Emson.
Write a table describing your test cases.
Test case | Expected Result |
---|---|
empty list | empty list |
one item | list with 1 item |
one item many times | list with 1 item |
2 items, many times, many orders | 2 item list, items in same order |
list in list | 1 list = 1 item so return normal item |
different type | each type = 1 item so return normal item |
value is not list | ValueError |
Test case | Expected Result |
---|---|
init | numerator and denominator in proper form |
string | out put of true fraction (ex. 3/4) |
test add (+) | sum of two fractions |
test substitution (-) | difference of two fractions |
test multily (*) | product of two fractions |
test divide (/) | quotient of two fractions |
test equal (==) | True / False |