stuff
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -21,10 +21,10 @@ func TestKoans(t *testing.T) {
|
||||
//testStrings()
|
||||
//testArrays()
|
||||
//testSlices()
|
||||
testControlFlow()
|
||||
//testControlFlow()
|
||||
testEnumeration()
|
||||
|
||||
// TODO: ie, gameplan
|
||||
//testEnumeration()
|
||||
//testFiles()
|
||||
//testVariadicFunctions()
|
||||
//testAnonymousFunctions()
|
||||
|
||||
Reference in New Issue
Block a user