53 std::hash<Z3i::Point> myhashcpp11;
57 REQUIRE( myhashcpp11(p) == myhashcpp11(p_copy) );
63 REQUIRE( myhashcpp11(p) != myhashcpp11(q) );
66 SECTION(
"Higher dimension identity test")
69 Point26 pp=Point26::diagonal(12),
70 qq=(Point26::diagonal(11) + Point26::diagonal(1)),
71 rr=Point26::diagonal(13);
73 std::hash<Point26> myhash26cpp11;
75 REQUIRE( myhash26cpp11(pp) == myhash26cpp11(qq) );
76 REQUIRE( myhash26cpp11(pp) != myhash26cpp11(rr) );