MCPcopy Index your code
hub / github.com/beanshell/beanshell / assertTrue

Method assertTrue

tests/src/InterfaceConsumer.java:14–16  ·  view source on GitHub ↗
( boolean cond )

Source from the content-addressed store, hash-verified

12 return true;
13 }
14 public static void assertTrue( boolean cond ) {
15 if ( !cond ) throw new RuntimeException("assert failed..");
16 }
17}
18

Callers 6

consumeInterfaceMethod · 0.95
diamond_operatorMethod · 0.45
try_with_resourceMethod · 0.45
testHashCode_contractMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected