diff options
Diffstat (limited to 'test.cc')
-rw-r--r-- | test.cc | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -307,18 +307,18 @@ int main() { tst("mathematics"); }(); - /*[&] { + [&] { tst("vectors"); - ::zp::vec2<int> const lvec2 = { - .x = +0x1, - .y = -0x3, + /* ::zp::vec2<int> const lvec2 = { + +0x1, + -0x3, }; ::zp::vec2<int> const rvec2 = { - .x = +0x2, - .y = -0x4, + +0x2, + -0x4, }; - chkeq(::zp::dot(lvec2,rvec2),0xE); + chkeq(::zp::dot2(lvec2,rvec2),0xE); ::zp::vec3<int> const lvec3 = { .x = +0x1, @@ -351,8 +351,8 @@ int main() { chkeq(avec2.x,+0x3); chkeq(avec2.y,-0x7); chkeq(svec2.x,-0x1); - chkeq(svec2.y,+0x1); - }();*/ + chkeq(svec2.y,+0x1);*/ + }(); [&] { tst("memory sequences"); |