Danny Robson
f6056153e3
This places, at long last, the core library code into the same namespace as the extended library code.
17 lines
494 B
C++
17 lines
494 B
C++
#include "../tap.hpp"
|
|
|
|
#include "../typeidx.hpp"
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
int
|
|
main (int, char**)
|
|
{
|
|
cruft::TAP::logger tap;
|
|
|
|
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");
|
|
|
|
return tap.status ();
|
|
} |