diff --git a/basics.go b/basics.go index 01ab1a3..a20023e 100644 --- a/basics.go +++ b/basics.go @@ -1,7 +1,10 @@ package go_koans -func testBasics() { - assert(__bool__ == true) // what is truth? +func testNumbers() { + //assert(__bool__ == true) // what is truth? + //assert(__bool__ != false) // in it there is nothing false - //assert(!__ != true) // in it there is nothing false + //assert(__int__ == 1.0000000000000000000000000000000000000) // precision is in the eye of the beholder + + //assert(true == 1) } diff --git a/setup_koans_test.go b/setup_koans_test.go index b23acd0..7590b4d 100644 --- a/setup_koans_test.go +++ b/setup_koans_test.go @@ -14,10 +14,11 @@ var __string__ string = "impossibly lame value" var __int__ int = -1 var __byte__ byte = 255 var __bool__ bool = false +var __float32__ float32 = -1.0 func TestKoans(t *testing.T) { - //testBasics() - testStrings() + testNumbers() + //testStrings() //testArrays() fmt.Printf("\n%c[32;1mYou won life. Good job.\n\n", 27)