summaryrefslogtreecommitdiff
path: root/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test.cc')
-rw-r--r--test.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/test.cc b/test.cc
index 5f625af..d31c83f 100644
--- a/test.cc
+++ b/test.cc
@@ -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");