aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest6
1 files changed, 3 insertions, 3 deletions
diff --git a/test b/test
index 3256a12..b36c238 100755
--- a/test
+++ b/test
@@ -34,7 +34,7 @@ public:
34 .name = "Constructor 2 mod 3", 34 .name = "Constructor 2 mod 3",
35 .f = []() { 35 .f = []() {
36 Zmod<3> two = Zmod<3>(2); 36 Zmod<3> two = Zmod<3>(2);
37 assert_equal(two.toint64(), INT64_C(2)); 37 assert_equal(two.toint(), INT64_C(2));
38 } 38 }
39}, 39},
40{ 40{
@@ -121,7 +121,7 @@ public:
121 Zmod<10> n = 8; 121 Zmod<10> n = 8;
122 Zmod<10> m = 9; 122 Zmod<10> m = 9;
123 auto prod = m * n; 123 auto prod = m * n;
124 assert_equal(prod.toint64(), 2); 124 assert_equal(prod.toint(), 2);
125 } 125 }
126}, 126},
127{ 127{
@@ -130,7 +130,7 @@ public:
130 Zmod<10> n = 8; 130 Zmod<10> n = 8;
131 Zmod<10> m = 9; 131 Zmod<10> m = 9;
132 n *= m; 132 n *= m;
133 assert_equal(n.toint64(), 2); 133 assert_equal(n.toint(), 2);
134 } 134 }
135}, 135},
136}; 136};