float Value
Create floatValue matcher. Because floating-point numbers are affected by precision, so abs(value - realValue) < 1e-6 will match successfully.
创建 floatValue 匹配器。由于浮点数受到精度影响,所以 abs(value - realValue) < 1e-6 时会匹配成功。
Return
Parameters
value
float value / 单精度浮点型值