ProgrammingBasics
ProgrammingBasics copied to clipboard
How to think like a programmer.
Results
12
ProgrammingBasics issues
Sort by
recently updated
recently updated
newest added
If a user is doing the test and writes "number[3|3]" because he learned that {0} is the default, the unittest failes. The user maybe astonished ;-)
The Sets section: assert listHalved.toSet.toList.head(3) equals list(0, 1, 2) Isn't this implementation specific? What guarantees that a list converted to a set and converted back to a list preserves the...