MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / test_float_display

Function test_float_display

crates/sith_python_ast/src/float.rs:131–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130 #[test]
131 fn test_float_display() {
132 let float = Float::from_f64(3.145153);
133 assert_eq!(format!("{float}"), String::from("3.145153"))
134 }
135
136 fn assert_f64_bits_eq(expected: f64, actual: f64, msg: &str) {
137 assert_eq!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected