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

Method main

test/Switch.java:50–65  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

48 }
49
50 public static void main(String[] args) {
51 expect(table(0) == 0);
52 expect(table(9) == 9);
53 expect(table(10) == 10);
54 expect(table(11) == 11);
55 expect(table(12) == 8);
56 expect(table(-5) == 5);
57 expect(table(-13) == 7);
58
59 expect(lookup(0) == 0);
60 expect(lookup(45) == 45);
61 expect(lookup(46) == 46);
62 expect(lookup(47) == -47);
63 expect(lookup(245) == 245);
64 expect(lookup(246) == 91);
65 }
66}

Callers

nothing calls this directly

Calls 3

expectMethod · 0.95
tableMethod · 0.95
lookupMethod · 0.95

Tested by

no test coverage detected