mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update math/modular_exponentiation.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
parent
a9adb142a1
commit
053aea0b9a
@ -63,7 +63,7 @@ namespace math {
|
||||
*/
|
||||
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);
|
||||
std::cout<<"Test 1 Passed!"<<std::endl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user