test(numerics/numeric_traits): add missing test
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1d18f60dd5
commit
5f11392fcc
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ void tst_num(T const & a) {
|
|||
std::cout << "zero: " << numeric_traits<T>::zero() << "\n";
|
||||
std::cout << "is type precise: " << std::boolalpha << numeric_traits<T>::precise() << "\n";
|
||||
std::cout << "typeid: " << typeid(T).name() << "\n";
|
||||
lean_assert(numeric_traits<T>::is_zero(numeric_traits<T>::zero()));
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue