Error messages should show inputs. (Expected result is already shown by assert_equals, messages like "It should be X: Y should equal X" are redundant.)
Examples:
Sample tests and small fixed/random tests:
fixed_partitions(4, 3): None should equal {(1, 1, 2)}
Error messages should show inputs. (Expected result is already shown by
assert_equals
, messages like "It should be X: Y should equal X" are redundant.)Examples:
Sample tests and small fixed/random tests:
Large tests: