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**)
|
|
|
|
{
|
2018-08-05 14:42:02 +10:00
|
|
|
cruft::TAP::logger tap;
|
2017-05-29 17:21:11 +10:00
|
|
|
|
2018-08-05 14:42:02 +10:00
|
|
|
tap.expect_eq (cruft::typeidx<int> (), cruft::typeidx<int> (), "equality for int");
|
|
|
|
tap.expect_eq (cruft::typeidx<float> (), cruft::typeidx<float> (), "equality for float");
|
|
|
|
tap.expect_neq (cruft::typeidx<int> (), cruft::typeidx<float> (), "inequality for int/float");
|
2017-05-29 17:21:11 +10:00
|
|
|
|
|
|
|
return tap.status ();
|
|
|
|
}
|