<div id="console"></div>
<script>
"use strict";
-description("Test vec3 constructor expressions.");
+var targetType = "vec3";
+description("Test " + targetType + " constructor expressions.");
+
+var testSet = GLSLConstructorTestsGenerator.getDefaultTestSet(targetType);
// Generate tests
-// Args: prefix scalar type name, component count, scalar type name
-var testCases = GLSLConstructorTestsGenerator.getVectorConstructorTests("", 3, "float");
+var testCases = GLSLConstructorTestsGenerator.getConstructorTests(targetType, testSet);
// Run the tests
GLSLConformanceTester.runTests(testCases);