Remix.run Logo
gus_massa 4 days ago

The solution is to add integration testing,

  for (i=1, i<13, i++) {
    assert.Equal(t, i, StringToMonth(MonthToString(i)))
  }
the reverse composition is harder to test.
debugnik 4 days ago | parent [-]

Did you mean property testing?