[阅读原文]
Hal understood the problem ABCDE * 4 = EDCBA very well. So he brought up TextEdit, probably would try something there.
“Let’s play with it in Xcode, inside a test file. And we have fix-width font by default at least. Maybe we’ll try some program solution too.”, I suggested.
“Sure”, Hal got used to unit test already.
He created a file MathTests.swift with a single function.
func testMath() {}
...
[阅读原文]