Ad
  • Custom User Avatar

    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)}
    

    Large tests:

    fixed_partitions(20, 55): wrong result