From 7e705a3342bc36f9f02b4e8e0050bc5842a62f9b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 21 Dec 2024 17:22:09 +0100 Subject: Make N's type generic for possible use with bigint --- test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test b/test index 3256a12..b36c238 100755 --- a/test +++ b/test @@ -34,7 +34,7 @@ public: .name = "Constructor 2 mod 3", .f = []() { Zmod<3> two = Zmod<3>(2); - assert_equal(two.toint64(), INT64_C(2)); + assert_equal(two.toint(), INT64_C(2)); } }, { @@ -121,7 +121,7 @@ public: Zmod<10> n = 8; Zmod<10> m = 9; auto prod = m * n; - assert_equal(prod.toint64(), 2); + assert_equal(prod.toint(), 2); } }, { @@ -130,7 +130,7 @@ public: Zmod<10> n = 8; Zmod<10> m = 9; n *= m; - assert_equal(n.toint64(), 2); + assert_equal(n.toint(), 2); } }, }; -- cgit v1.2.3