The introduction of the Half datatype in Testsweeper causes warnings when compiling a lot of the test files.
Solution
In this PR, we update the test files where one of the switch cases is on Integer, by removing it, and adding a default case that throw a runtime exception on the datatype.
Moreover, we fix a few test files that were throwing an std::exception() in the default case, by replacing it with the same runtime error, to be consistent.
Problem
The introduction of the
Half
datatype inTestsweeper
causes warnings when compiling a lot of the test files.Solution
In this PR, we update the test files where one of the switch cases is on
Integer
, by removing it, and adding a default case that throw a runtime exception on the datatype.Moreover, we fix a few test files that were throwing an
std::exception()
in the default case, by replacing it with the same runtime error, to be consistent.