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 @@ -1087,9 +1087,10 @@ mod scheme_selection_tests {
10871087 use vortex_sequence:: Sequence ;
10881088 use vortex_sparse:: Sparse ;
10891089
1090- use crate :: { BtrBlocksCompressor , IntCode } ;
1090+ use crate :: BtrBlocksCompressor ;
10911091 use crate :: CompressorContext ;
10921092 use crate :: CompressorExt ;
1093+ use crate :: IntCode ;
10931094
10941095 #[ test]
10951096 fn test_constant_compressed ( ) -> VortexResult < ( ) > {
@@ -1211,9 +1212,12 @@ mod scheme_selection_tests {
12111212 }
12121213 let array = PrimitiveArray :: new ( Buffer :: copy_from ( & values) , Validity :: NonNullable ) ;
12131214 let btr = BtrBlocksCompressor :: default ( ) ;
1214- let compressed =
1215- btr. integer_compressor ( )
1216- . compress ( & btr, & array, CompressorContext :: default ( ) , & [ IntCode :: RunEnd ] ) ?;
1215+ let compressed = btr. integer_compressor ( ) . compress (
1216+ & btr,
1217+ & array,
1218+ CompressorContext :: default ( ) ,
1219+ & [ IntCode :: RunEnd ] ,
1220+ ) ?;
12171221 assert ! ( compressed. is:: <RLE >( ) ) ;
12181222 Ok ( ( ) )
12191223 }
You can’t perform that action at this time.
0 commit comments