         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 testFloat5() {
        // This is an example of a functional test case.
        let data = "beras3252.242"
        let state = BasicState(data.unicodeScalars)

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