Skip to content

Commit 7db1ff6

Browse files
committed
Update java tests
Signed-off-by: Raasz, Pawel <pawel.raasz@intel.com>
1 parent 14bfecc commit 7db1ff6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/java_api/src/test/java/org/intel/openvino/CompiledModelTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void testInputs() {
2323
List<Output> inputs = model.inputs();
2424

2525
assertEquals("data", inputs.get(0).get_any_name());
26-
assertEquals(ElementType.f32, inputs.get(0).get_element_type());
26+
assertEquals(ElementType.f16, inputs.get(0).get_element_type());
2727

2828
int[] shape = new int[] {1, 3, 32, 32};
2929
assertArrayEquals("Shape", shape, inputs.get(0).get_shape());

modules/java_api/src/test/java/org/intel/openvino/ModelTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void testOutputName() {
3434
@Test
3535
public void testOutputType() {
3636
Output output = net.output();
37-
assertEquals("Output element type", ElementType.f32, output.get_element_type());
37+
assertEquals("Output element type", ElementType.f16, output.get_element_type());
3838
}
3939

4040
@Test

0 commit comments

Comments
 (0)