Skip to content

Commit

Permalink
sum
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Jun 5, 2024
1 parent 6a5e80e commit ecd7402
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vortex-datetime-parts/src/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ mod test {

assert_eq!(
elem0,
vec![(2i64 * 86_400 * 1_000_000_000), 2i64 * 1_000_000_000, 2i64,]
vec![(2i64 * 86_400 * 1_000_000_000), 2i64 * 1_000_000_000, 2i64]
.into_iter()
.sum(),
.sum::<i64>(),
);
assert_eq!(
elem1,
vec![(3i64 * 86_400 * 1_000_000_000), 3i64 * 1_000_000_000, 3i64,]
vec![(3i64 * 86_400 * 1_000_000_000), 3i64 * 1_000_000_000, 3i64]
.into_iter()
.sum(),
.sum::<i64>(),
);
}
}

0 comments on commit ecd7402

Please sign in to comment.