Chromium Code Reviews

Side by Side Diff: test/mjsunit/harmony/typesystem/tuple-types.js

Issue 1810943002: Add parsing for tuple types (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@types
Patch Set: More test refactoring and minor fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « test/mjsunit/harmony/typesystem/testgen.js ('k') | test/mjsunit/harmony/typesystem/typegen.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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);
OLDNEW
« no previous file with comments | « test/mjsunit/harmony/typesystem/testgen.js ('k') | test/mjsunit/harmony/typesystem/typegen.js » ('j') | no next file with comments »

Powered by Google App Engine