Update math/modular_exponentiation.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Shri Prakash Bajpai
2020-10-29 02:06:47 +05:30
committed by GitHub
parent a9adb142a1
commit 053aea0b9a

View File

@@ -63,7 +63,7 @@ namespace math {
*/ */
static void test() static void test()
{ {
int test_case_1 = math::power(2,5,13); uint32_t test_case_1 = math::power(2,5,13);
assert(test_case_1==6); assert(test_case_1==6);
std::cout<<"Test 1 Passed!"<<std::endl; std::cout<<"Test 1 Passed!"<<std::endl;