File tree Expand file tree Collapse file tree
vortex-btrblocks/src/compressor/integer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1090,9 +1090,10 @@ mod scheme_selection_tests {
10901090 use vortex_sequence:: Sequence ;
10911091 use vortex_sparse:: Sparse ;
10921092
1093- use crate :: { BtrBlocksCompressor , IntCode } ;
1093+ use crate :: BtrBlocksCompressor ;
10941094 use crate :: CompressorContext ;
10951095 use crate :: CompressorExt ;
1096+ use crate :: IntCode ;
10961097
10971098 #[ test]
10981099 fn test_constant_compressed ( ) -> VortexResult < ( ) > {
@@ -1210,9 +1211,12 @@ mod scheme_selection_tests {
12101211 }
12111212 let array = PrimitiveArray :: new ( Buffer :: copy_from ( & values) , Validity :: NonNullable ) ;
12121213 let btr = BtrBlocksCompressor :: default ( ) ;
1213- let compressed =
1214- btr. integer_compressor ( )
1215- . compress ( & btr, & array, CompressorContext :: default ( ) , & [ IntCode :: RunEnd ] ) ?;
1214+ let compressed = btr. integer_compressor ( ) . compress (
1215+ & btr,
1216+ & array,
1217+ CompressorContext :: default ( ) ,
1218+ & [ IntCode :: RunEnd ] ,
1219+ ) ?;
12161220 assert ! ( compressed. is:: <RLE >( ) ) ;
12171221 Ok ( ( ) )
12181222 }
You can’t perform that action at this time.
0 commit comments