MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / negative_values

Function negative_values

nodedb/src/engine/timeseries/ilp.rs:309–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307
308 #[test]
309 fn negative_values() {
310 let line = parse_line("temp,loc=outside value=-12.5 1000").unwrap();
311 assert_eq!(line.fields[0].1, FieldValue::Float(-12.5));
312 }
313
314 #[test]
315 fn scientific_notation() {

Callers

nothing calls this directly

Calls 1

parse_lineFunction · 0.85

Tested by

no test coverage detected