MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / test_value_conversion

Function test_value_conversion

sdk-rust/src/result.rs:258–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256
257 #[test]
258 fn test_value_conversion() {
259 let value = Value::Number(42.0);
260 let json = value_to_json(&value);
261 assert_eq!(json, serde_json::json!(42.0));
262 }
263}

Callers

nothing calls this directly

Calls 1

value_to_jsonFunction · 0.85

Tested by

no test coverage detected