         let state = BasicState(data.unicodeScalars)
         let num = float
         var (re, status) = num(state)
+        println("re, status : \((re, status))")
         switch status {
         case let .Failed(msg):
             XCTAssert(false, "excpet float parsec got a float but error: \(msg)")
         case .Success:
-            XCTAssert(true, "float test success and got:\(re)")
+            XCTAssert(re == data, "float test success and got:\(re)")
         }
     }
     
     func testFloat3() {
+        // This is an example of a functional test case.
+        let data = "-624.3dsfgasd"
+        let state = BasicState(data.unicodeScalars)
+        let num = float
+        var (re, status) = num(state)
+        println("re, status : \((re, status))")
+        switch status {
+        case let .Failed(msg):
+            XCTAssert(false, "excpet float parsec got a float but error: \(msg)")
+        case .Success:
+            XCTAssert(re == "-624.3", "float test success and got:\(re)")
+        }
+    }
+    
+    func testFloat4() {
         // This is an example of a functional test case.
         let data = "-6243"
         let state = BasicState(data.unicodeScalars)

        case let .Failed(msg):
            XCTAssert(false, "excpet float parsec got a float but error: \(msg)")
        case .Success:
            XCTAssert(true, "float test success and got:\(re)")
        }
    }
    

        }
    }
    
    func testFloat6() {
        // This is an example of a functional test case.
        let data = "beras3252.242"
        let state = BasicState(data.unicodeScalars)
