You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tag:pendingtest"invalid binary is decimal 0"doassertBinary.to_decimal("carrot")==0end@tag:pendingtest"invalid binary is decimal 0 II"doassertBinary.to_decimal("convert01")==0end@tag:pendingtest"invalid binary is decimal 0 III"doassertBinary.to_decimal("10convert")==0end@tag:pendingtest"22 is not a binary number"doassertBinary.to_decimal("22")==0end
looks like this is all in place, unless "carrot" should be replaced by "1carrot0"
We should have separate tests for:
If the test suite for binary has test cases that cover these edge cases, this issue can safely be closed.
See exercism/problem-specifications#95
The text was updated successfully, but these errors were encountered: