Skip to content

Commit

Permalink
[test] reduce memory usage for tests to minimize the possibility of s…
Browse files Browse the repository at this point in the history
…tack overflow in Github Actions
  • Loading branch information
DreamPast committed Nov 21, 2024
1 parent 9e0e166 commit 61b1d10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.vscode/*
!.vscode/extensions.json
.idea
.vs
*.suo
*.ntvs*
*.njsproj
Expand All @@ -16,3 +17,4 @@ dev/**
# Build results
build*/**
Testing/**
out/**
2 changes: 1 addition & 1 deletion test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ void subtestPower() {
}
}

T_assert(BigInt("0x100").pow(0xFFFF) == BigInt::from2Exp(0xFFFF * 8));
T_assert(BigInt("0x100").pow(0xFFF) == BigInt::from2Exp(0xFFF * 8));
}
void subtestSqrt() {
puts("======Subtest Sqrt");
Expand Down

0 comments on commit 61b1d10

Please sign in to comment.