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.

1
debugnik 4 days ago

Did you mean property testing?