fix exponential message test
This commit is contained in:
parent
813b75fbc5
commit
6f2c044e1c
|
|
@ -81,7 +81,7 @@ mod tests {
|
||||||
fn test_parse_response_message_exponential() {
|
fn test_parse_response_message_exponential() {
|
||||||
let result =
|
let result =
|
||||||
parse_response_message(vec!["value=9.401652e+01".to_string()], "value".to_string());
|
parse_response_message(vec!["value=9.401652e+01".to_string()], "value".to_string());
|
||||||
assert_almost_equal!(result.unwrap(), 451.4824, 0.1);
|
assert_almost_equal!(result.unwrap(), 94.016, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue