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

Method expect

test/Serialize.java:12–14  ·  view source on GitHub ↗
(boolean v)

Source from the content-addressed store, hash-verified

10 public static final long serialVersionUID = 1l;
11 public int dummy = 0x12345678;
12 private static void expect(boolean v) {
13 if (! v) throw new RuntimeException();
14 }
15
16 private static void expectEqual(boolean a, boolean b) {
17 expect(a == b);

Callers 1

expectEqualMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected