Skip to content

Commit

Permalink
test(ModInt): Fix code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Apr 23, 2020
1 parent 2da0ec2 commit f6ae469
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/ConstantModInt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

using CPTH::ConstantModInt;

const int mod = 114514;
const int mod = 404404404;

int gcd(int x, int y)
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ConstantModInt.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## ConstantModInt

Nearly the same as [ModInt](ModInt.md), but `m` is always 114514.
Nearly the same as [ModInt](ModInt.md), but `m` is always 404404404.
2 changes: 1 addition & 1 deletion tests/ConstantModInt_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int gcd(int x, int y)
int main()
{
int n = randint(1000, 200000);
int m = 114514;
int m = 404404404;

printf("%d %d\n", n, m);

Expand Down
2 changes: 1 addition & 1 deletion tests/ModInt_gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int gcd(int x, int y)
int main()
{
int n = randint(1000, 200000);
int m = randint(2, 1000000000);
int m = randint(1, 250000000) * 4;

printf("%d %d\n", n, m);

Expand Down

0 comments on commit f6ae469

Please sign in to comment.