| Index: test/mjsunit/harmony/typesystem/tuple-types.js
|
| diff --git a/test/mjsunit/harmony/typesystem/tuple-types.js b/test/mjsunit/harmony/typesystem/tuple-types.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8a815cb4983f44c76cbe343624f9965995c7adcb
|
| --- /dev/null
|
| +++ b/test/mjsunit/harmony/typesystem/tuple-types.js
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2016 the V8 project authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// Flags: --harmony-types
|
| +
|
| +
|
| +load("test/mjsunit/harmony/typesystem/typegen.js");
|
| +
|
| +
|
| +// In all the following functions, the size parameter (positive integer)
|
| +// denotes how many test cases will be tried. The variable test_size
|
| +// controls execution time of this test. It should not be too high.
|
| +let test_size = 1000;
|
| +
|
| +
|
| +(function TestTupleTypes(size) {
|
| + Test(size, [
|
| + new TestGen(4, ValidTupleTypes, [CheckValid]),
|
| + new TestGen(1, InvalidTupleTypes, [CheckInvalid])
|
| + ]);
|
| +})(test_size);
|
|
|