OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Flags: --harmony-types |
| 6 |
| 7 |
| 8 load("test/mjsunit/harmony/typesystem/typegen.js"); |
| 9 |
| 10 |
| 11 // In all the following functions, the size parameter (positive integer) |
| 12 // denotes how many test cases will be tried. The variable test_size |
| 13 // controls execution time of this test. It should not be too high. |
| 14 let test_size = 1000; |
| 15 |
| 16 |
| 17 (function TestTupleTypes(size) { |
| 18 Test(size, [ |
| 19 new TestGen(4, ValidTupleTypes, [CheckValid]), |
| 20 new TestGen(1, InvalidTupleTypes, [CheckInvalid]) |
| 21 ]); |
| 22 })(test_size); |
OLD | NEW |