Skip to content

Commit

Permalink
test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
egshnov committed Dec 21, 2023
1 parent 07a7cc4 commit 1fed5a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/test_ac_algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ void AssertRanges(std::vector<model::Double>& expected_ranges,
if (byte_ranges.col_pair.type_wrapper.IsNumeric()) {
expected = std::unique_ptr<std::byte[]>(double_type.MakeValue(expected_ranges[i]));
} else {
expected = std::unique_ptr<std::byte[]>(int_type.MakeValue(expected_ranges[i]));
expected = std::unique_ptr<std::byte[]>(
int_type.MakeValue(static_cast<int>(expected_ranges[i])));
}
double_type.CastTo(expected.get(), byte_ranges.col_pair.type_wrapper.GetTypeId());
EXPECT_EQ(byte_ranges.col_pair.type_wrapper.NumericCompare(expected.get(),
Expand Down

0 comments on commit 1fed5a9

Please sign in to comment.