RosettaCodeData/Task/Assertions/Java/assertions-2.java

3 lines
54 B
Java

if (valueA != valueB)
throw new AssertionError();