Skip to content

Commit

Permalink
Fixed test float equal for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tvukovic-amd committed Sep 4, 2023
1 parent d2486dc commit 03e9635
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/float_equal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ TEST_CASE_REGISTER(test_limits<double, int>);
TEST_CASE_REGISTER(test_limits<double, migraphx::half>);
TEST_CASE_REGISTER(test_limits<float, int>);
TEST_CASE_REGISTER(test_limits<int, migraphx::half>);
#ifndef _WIN32
// On Windows, types int and long have the same min and max values.
TEST_CASE_REGISTER(test_limits<long, int>);
#endif
TEST_CASE_REGISTER(test_limits<long, char>);

int main(int argc, const char* argv[]) { test::run(argc, argv); }

0 comments on commit 03e9635

Please sign in to comment.