Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
f-salvetti committed Jun 29, 2023
1 parent c91e62a commit f54d292
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -4906,7 +4906,7 @@ def func(x, y):
self._run_test_case(func, [_OUTPUT], {_INPUT: x_val, _INPUT1: y_val})

@check_opset_min_version(18, "BitwiseOr")
def test_bitwise_and(self):
def test_bitwise_or(self):
x_val = np.array([21, 4, 87], dtype=np.int32)
y_val = np.array([45, 69, 173], dtype=np.int32)
def func(x, y):
Expand All @@ -4915,7 +4915,7 @@ def func(x, y):
self._run_test_case(func, [_OUTPUT], {_INPUT: x_val, _INPUT1: y_val})

@check_opset_min_version(18, "BitwiseXor")
def test_bitwise_and(self):
def test_bitwise_xor(self):
x_val = np.array([21, 4, 87], dtype=np.int32)
y_val = np.array([45, 69, 173], dtype=np.int32)
def func(x, y):
Expand All @@ -4924,10 +4924,10 @@ def func(x, y):
self._run_test_case(func, [_OUTPUT], {_INPUT: x_val, _INPUT1: y_val})

@check_opset_min_version(18, "BitwiseNot")
def test_bitwise_and(self):
def test_bitwise_not(self):
x_val = np.array([21, 4, 1], dtype=np.int32)
def func(x):
x_ = tf.bitwise.bitwise_not(x)
x_ = tf.bitwise.invert(x)
return tf.identity(x_, name=_TFOUTPUT)
self._run_test_case(func, [_OUTPUT], {_INPUT: x_val})

Expand Down

0 comments on commit f54d292

Please sign in to comment.