summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js')
-rw-r--r--testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js b/testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js
new file mode 100644
index 0000000000..86183b074a
--- /dev/null
+++ b/testing/web-platform/tests/webnn/validation_tests/elementwise-logical.https.any copy.js
@@ -0,0 +1,20 @@
+// META: title=validation tests for WebNN API element-wise logical operations
+// META: global=window,dedicatedworker
+// META: script=../resources/utils_validation.js
+
+'use strict';
+
+const kElementwiseLogicalBinaryOperators = [
+ 'equal',
+ 'greater',
+ 'greaterOrEqual',
+ 'lesser',
+ 'lesserOrEqual',
+];
+
+kElementwiseLogicalBinaryOperators.forEach((operatorName) => {
+ validateTwoInputsFromMultipleBuilders(operatorName);
+});
+
+// The `not()` operator is unary.
+validateInputFromOtherBuilder('not');