We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nin
nout
1 parent d239486 commit ad258b8Copy full SHA for ad258b8
dpctl/tests/elementwise/test_elementwise_classes.py
@@ -78,3 +78,27 @@ def test_binary_class_str_repr():
78
kl_n = binary_fn.__name__
79
assert kl_n in s
80
assert kl_n in r
81
+
82
83
+def test_unary_class_nin():
84
+ nin = unary_fn.nin
85
+ assert isinstance(nin, int)
86
+ assert nin == 1
87
88
89
+def test_binary_class_nin():
90
+ nin = binary_fn.nin
91
92
+ assert nin == 2
93
94
95
+def test_unary_class_nout():
96
+ nout = unary_fn.nout
97
+ assert isinstance(nout, int)
98
+ assert nout == 1
99
100
101
+def test_binary_class_nout():
102
+ nout = binary_fn.nout
103
104
0 commit comments