OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include <climits> | 5 #include <climits> |
6 | 6 |
7 #include "src/base/utils/random-number-generator.h" | 7 #include "src/base/utils/random-number-generator.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 } | 44 } |
45 } | 45 } |
46 | 46 |
47 | 47 |
48 INSTANTIATE_TEST_CASE_P(RandomSeeds, RandomNumberGeneratorTest, | 48 INSTANTIATE_TEST_CASE_P(RandomSeeds, RandomNumberGeneratorTest, |
49 ::testing::Values(INT_MIN, -1, 0, 1, 42, 100, | 49 ::testing::Values(INT_MIN, -1, 0, 1, 42, 100, |
50 1234567890, 987654321, INT_MAX)); | 50 1234567890, 987654321, INT_MAX)); |
51 | 51 |
52 } // namespace base | 52 } // namespace base |
53 } // namespace v8 | 53 } // namespace v8 |
OLD | NEW |