aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest8
1 files changed, 8 insertions, 0 deletions
diff --git a/test b/test
index b36c238..4b426c2 100755
--- a/test
+++ b/test
@@ -133,6 +133,14 @@ public:
133 assert_equal(n.toint(), 2); 133 assert_equal(n.toint(), 2);
134 } 134 }
135}, 135},
136{
137 .name = "2^12 mod 154",
138 .f = []() {
139 Zmod<154> b = 2;
140 auto p = b ^ 12;
141 assert_equal(p, 92);
142 }
143},
136}; 144};
137 145
138int main() { 146int main() {