()
| 343 | |
| 344 | #[test] |
| 345 | fn int64_column_basic() { |
| 346 | let mut col = Int64Column::new(5); |
| 347 | col.set(0, 42); |
| 348 | col.set(4, -1); |
| 349 | |
| 350 | assert_eq!(col.get(0), Some(42)); |
| 351 | assert_eq!(col.get(4), Some(-1)); |
| 352 | assert_eq!(col.get(2), None); |
| 353 | assert_eq!(col.count_present(), 2); |
| 354 | } |
| 355 | |
| 356 | #[test] |
| 357 | fn string_column_dictionary_encoding() { |