TestXdmfTopologyType.cpp 411 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#include "XdmfTopology.hpp"

int main(int argc, char* argv[])
{
	// Test != and == operators
	assert(XdmfTopologyType::Hexahedron == XdmfTopologyType::Hexahedron);
	assert(XdmfTopologyType::Hexahedron == XdmfTopologyType::Tetrahedron == false);
	assert(XdmfTopologyType::Hexahedron != XdmfTopologyType::Hexahedron == false);
	assert(XdmfTopologyType::Hexahedron != XdmfTopologyType::Tetrahedron);

	return 0;
}