Skip to content

Commit cc1c191

Browse files
committed
Additional assertions.
1 parent dd7e9ba commit cc1c191

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

com.ibm.wala.cast.python.test/data/tf2_test_add7.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ def add(a, b):
1212

1313

1414
c = add(tf.ones([1, 2]), tf.ones([2, 2]))
15+
16+
assert c.shape == (2, 2), f"Expected shape (2, 2), got {c.shape}"
17+
assert c.dtype == tf.float32, f"Expected dtype float32, got {c.dtype}"

0 commit comments

Comments
 (0)