d06 change test output again

This commit is contained in:
Hugo LAMY
2022-03-17 15:03:39 +01:00
parent a7386b882e
commit f4566f828b
4 changed files with 100 additions and 13 deletions

View File

@@ -22,8 +22,6 @@ void toChar(T value) {
template <typename T>
void toInt(T value) {
std::cout << std::setw(7) << std::left << "int";
// if (value < std::numeric_limits<int>::min()
// || value > std::numeric_limits<int>::max() )
if (! (value <= std::numeric_limits<int>::max()
&& value >= std::numeric_limits<int>::min()) )
{