[WHLSL] Move WHLSL tests to their own folder
[WebKit-https.git] / LayoutTests / webgpu / whlsl / int-literal-compare.html
1 <!DOCTYPE html>
2 <html>
3 <meta charset=utf-8>
4 <meta name="timeout" content="long">
5 <title>Test the WHLSL test harness.</title>
6 <script src="js/whlsl-test-harness.js"></script>
7 <script src="../resources/testharness.js"></script>
8 <script src="../resources/testharnessreport.js"></script>
9 <script>
10 const whlslTests = {};
11
12 whlslTests.twoIntLiterals = async () => {
13     let program = `
14         bool foo()
15         {
16             return 42 == 42;
17         }
18     `;
19     assert_equals(await callBoolFunction(program, "foo", []), true);
20 }
21
22 runTests(whlslTests);
23 </script>
24 </html>