()
| 1370 | |
| 1371 | #[test] |
| 1372 | fn test_get_timestamp_compact() { |
| 1373 | let epoch_millis: i64 = 1_704_067_200_000; |
| 1374 | let mut builder = BinaryRowBuilder::new(1); |
| 1375 | builder.write_timestamp_compact(0, epoch_millis); |
| 1376 | let row = builder.build(); |
| 1377 | |
| 1378 | let (millis, nano) = row.get_timestamp_raw(0, 3).unwrap(); |
| 1379 | assert_eq!(millis, epoch_millis); |
| 1380 | assert_eq!(nano, 0); |
| 1381 | } |
| 1382 | |
| 1383 | #[test] |
| 1384 | fn test_write_datum_int_and_string() { |
nothing calls this directly
no test coverage detected