asserts that the set contains the expected strings, in the same order
(set: ArrowBytesSet<O>, expected: &[Option<&str>])
| 738 | |
| 739 | // asserts that the set contains the expected strings, in the same order |
| 740 | fn assert_set<O: OffsetSizeTrait>(set: ArrowBytesSet<O>, expected: &[Option<&str>]) { |
| 741 | let strings = set.into_state(); |
| 742 | let strings = strings.as_string::<O>(); |
| 743 | let state = strings.into_iter().collect::<Vec<_>>(); |
| 744 | assert_eq!(state, expected); |
| 745 | } |
| 746 | |
| 747 | // Test use of binary output type |
| 748 | #[test] |
searching dependent graphs…