This commit is contained in:
Steven Degutis
2012-03-16 06:52:39 -05:00
parent ac5e2a0e64
commit 2f82968554
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import "fmt"
func testStrings() {
assert("a" + __string__ == "abc") // string concatenation need not be difficult
assert(len("abc") == __int__) // and bounds are thoroughly checked at compile time
assert(len("abc") == __int__) // and bounds are thoroughly checked
assert("abc"[0] == __byte__) // their contents are reminiscent of C

View File

@@ -21,10 +21,10 @@ func TestKoans(t *testing.T) {
//testStrings()
//testArrays()
//testSlices()
testControlFlow()
//testControlFlow()
testEnumeration()
// TODO: ie, gameplan
//testEnumeration()
//testFiles()
//testVariadicFunctions()
//testAnonymousFunctions()