@@ -4050,8 +4050,13 @@ public void testDecoratedFunctions9()
40504050 test ("decorated_function_test.py" , "f" , 1 , 1 , Map .of (2 , Set .of (SCALAR_TENSOR_OF_INT32 )));
40514051 }
40524052
4053- /** Test https://github.com/wala/ML/issues/195. */
4054- @ Test
4053+ /**
4054+ * Test https://github.com/wala/ML/issues/195.
4055+ *
4056+ * <p>Should not throw an {@link IllegalArgumentException} once
4057+ * https://github.com/wala/ML/issues/340 is fixed.
4058+ */
4059+ @ Test (expected = IllegalArgumentException .class )
40554060 public void testReshape () throws ClassHierarchyException , CancelException , IOException {
40564061 Dimension <Integer > x = new NumericDim (6 );
40574062 TensorType expectedType = new TensorType ("pixel" , asList (x ));
@@ -4080,8 +4085,13 @@ public void testReshape3() throws ClassHierarchyException, CancelException, IOEx
40804085 test ("tf2_test_reshape3.py" , "f" , 1 , 1 , Map .of (2 , Set .of (expectedType )));
40814086 }
40824087
4083- /** Test https://github.com/wala/ML/issues/195. */
4084- @ Test
4088+ /**
4089+ * Test https://github.com/wala/ML/issues/195.
4090+ *
4091+ * <p>Should not throw an {@link IllegalArgumentException} once
4092+ * https://github.com/wala/ML/issues/340 is fixed.
4093+ */
4094+ @ Test (expected = IllegalArgumentException .class )
40854095 public void testReshape4 () throws ClassHierarchyException , CancelException , IOException {
40864096 Dimension <String > batch = new SymbolicDim ("?" );
40874097 Dimension <Integer > x = new NumericDim (28 );
@@ -4092,8 +4102,13 @@ public void testReshape4() throws ClassHierarchyException, CancelException, IOEx
40924102 test ("tf2_test_reshape4.py" , "f" , 1 , 1 , Map .of (2 , Set .of (expectedType )));
40934103 }
40944104
4095- /** Test https://github.com/wala/ML/issues/195. */
4096- @ Test
4105+ /**
4106+ * Test https://github.com/wala/ML/issues/195.
4107+ *
4108+ * <p>Should not throw an {@link IllegalArgumentException} once
4109+ * https://github.com/wala/ML/issues/340 is fixed.
4110+ */
4111+ @ Test (expected = IllegalArgumentException .class )
40974112 public void testReshape5 () throws ClassHierarchyException , CancelException , IOException {
40984113 Dimension <String > batch = new SymbolicDim ("?" );
40994114 Dimension <Integer > x = new NumericDim (28 );
0 commit comments