Skip to content

Commit

Permalink
chore: one tests for compression
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiKaiWi committed Aug 23, 2023
1 parent 658884a commit f4fe25d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion components/codec/src/columnar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,14 @@ mod tests {
Datum::from(false),
];

check_encode_end_decode(10, datums, DatumKind::Boolean);
check_encode_end_decode(10, datums.clone(), DatumKind::Boolean);

let mut massive_datums = Vec::with_capacity(10 * datums.len());
for _ in 0..10 {
massive_datums.append(&mut datums.clone());
}

check_encode_end_decode(10, massive_datums, DatumKind::Boolean);
}

#[test]
Expand Down

0 comments on commit f4fe25d

Please sign in to comment.