()
| 439 | |
| 440 | #[test] |
| 441 | fn encode_value_count_mismatch() { |
| 442 | let schema = crm_schema(); |
| 443 | let encoder = TupleEncoder::new(&schema); |
| 444 | |
| 445 | let err = encoder.encode(&[Value::Integer(1)]).unwrap_err(); |
| 446 | assert!(matches!(err, StrictError::ValueCountMismatch { .. })); |
| 447 | } |
| 448 | |
| 449 | #[test] |
| 450 | fn encode_int_to_float_coercion() { |
nothing calls this directly
no test coverage detected