MCPcopy Create free account
hub / github.com/ReadyTalk/avian / expect

Method expect

test/extra/Tails.java:6–8  ·  view source on GitHub ↗
(boolean v)

Source from the content-addressed store, hash-verified

4 private static final int Limit = 1000000;
5
6 private static void expect(boolean v) {
7 if (! v) throw new RuntimeException();
8 }
9
10 private static int staticMethod(Interface i, int n) {
11 if (n < Limit) {

Callers 2

leafMethodMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected