#include "2d.hpp" #include "test/u.hpp" #include namespace { AddTestCase _("2d.hpp", [](TestCase &t) { t.expectEq([]{ return cross({1, 2}, {4, 1}); }, -7); t.expectEq([]{ return dot({1, 2}, {4, 1}); }, 6); }); }