Skip to content

Commit

Permalink
Reduce iteration count in reintersection tests.
Browse files Browse the repository at this point in the history
(They were taking too long.)
  • Loading branch information
mmp committed Dec 7, 2016
1 parent bf038a4 commit 6663b4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/shapes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ static void TestReintersectConvex(Shape &shape, RNG &rng) {
}

TEST(FullSphere, Reintersect) {
for (int i = 0; i < 1000; ++i) {
for (int i = 0; i < 100; ++i) {
RNG rng(i);
Transform identity;
Float radius = pExp(rng, 4);
Expand All @@ -440,7 +440,7 @@ TEST(FullSphere, Reintersect) {
}

TEST(ParialSphere, Normal) {
for (int i = 0; i < 1000; ++i) {
for (int i = 0; i < 100; ++i) {
RNG rng(i);
Transform identity;
Float radius = pExp(rng, 4);
Expand Down Expand Up @@ -479,7 +479,7 @@ TEST(ParialSphere, Normal) {
}

TEST(PartialSphere, Reintersect) {
for (int i = 0; i < 1000; ++i) {
for (int i = 0; i < 100; ++i) {
RNG rng(i);
Transform identity;
Float radius = pExp(rng, 4);
Expand All @@ -498,7 +498,7 @@ TEST(PartialSphere, Reintersect) {
}

TEST(Cylinder, Reintersect) {
for (int i = 0; i < 1000; ++i) {
for (int i = 0; i < 100; ++i) {
RNG rng(i);
Transform identity;
Float radius = pExp(rng, 4);
Expand Down

0 comments on commit 6663b4c

Please sign in to comment.