Chromium Code Reviews| Index: test/cctest/test-api.cc |
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
| index 272a01732acdba517d4277352831d17472910fb1..aa2023a5e09e5b5ba7c5097e6e84eeb454b09349 100644 |
| --- a/test/cctest/test-api.cc |
| +++ b/test/cctest/test-api.cc |
| @@ -11423,7 +11423,10 @@ TEST(MultipleIsolatesOnIndividualThreads) { |
| thread1.Join(); |
| thread2.Join(); |
| - // Compare results. |
| + // Compare results. The actual fibonacci numbers for 12 and 21 are taken |
| + // (I'm lazy!) from http://en.wikipedia.org/wiki/Fibonacci_number |
|
Vitaly Repeshko
2010/08/06 20:43:14
http://www.wolframalpha.com/input/?i=fibonacci+21
|
| + CHECK(result1 == 10946); |
| + CHECK(result2 == 144); |
| CHECK(result1 == thread1.result()); |
| CHECK(result2 == thread2.result()); |