2017-11-22 16:49:37 +11:00
|
|
|
#include "../tap.hpp"
|
2017-05-29 17:21:11 +10:00
|
|
|
|
2017-11-22 16:49:37 +11:00
|
|
|
#include "../typeidx.hpp"
|
2017-05-29 17:21:11 +10:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
int
|
|
|
|
main (int, char**)
|
|
|
|
{
|
|
|
|
util::TAP::logger tap;
|
|
|
|
|
|
|
|
tap.expect_eq (util::typeidx<int> (), util::typeidx<int> (), "equality for int");
|
|
|
|
tap.expect_eq (util::typeidx<float> (), util::typeidx<float> (), "equality for float");
|
|
|
|
tap.expect_neq (util::typeidx<int> (), util::typeidx<float> (), "inequality for int/float");
|
|
|
|
|
|
|
|
return tap.status ();
|
|
|
|
}
|