()
| 105 | |
| 106 | #[test] |
| 107 | fn test_mixed_float_numeric_operations() { |
| 108 | let conn = setup_test_db(); |
| 109 | |
| 110 | // Test operations mixing FLOAT8 and FLOAT4 |
| 111 | let sql = "SELECT value1 + value2 * 2.5 FROM calculations"; |
| 112 | let result = rewrite_query(&conn, sql).unwrap(); |
| 113 | println!("Mixed float operations rewritten to: {result}"); |
| 114 | assert!(result.contains("decimal_add")); |
| 115 | assert!(result.contains("decimal_mul")); |
| 116 | } |
| 117 | |
| 118 | #[test] |
| 119 | fn test_float_aggregates() { |
nothing calls this directly
no test coverage detected