Skip to content

Commit

Permalink
Merge branch 'master' of git@github.com:etscrivner/Lemon
Browse files Browse the repository at this point in the history
  • Loading branch information
etscrivner committed Feb 24, 2010
2 parents cc23144 + c4fe5d0 commit b6a3f65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/factorial_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ int factorial(int n) {
}

int main(int argc, char* argv[]) {
// Setup lemon for 5 tests
Lemon lemon(4);
// Setup lemon for 5 tests
Lemon lemon(4);

// Test 1: Factorial of zero is one
// Test 1: Factorial of zero is one
lemon.is(factorial(0), 1, "0! = 1");

// Test 2: 3! = 3 * 2 * 1
Expand All @@ -40,8 +40,8 @@ int main(int argc, char* argv[]) {
// Test 4: 5! = 120
lemon.is(factorial(5), 120, "5! = 120");

// Finish testing and display statistics
lemon.end();
// Finish testing and display statistics
lemon.end();

return 0;
return 0;
}

0 comments on commit b6a3f65

Please sign in to comment.