MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / test

Method test

src/test/Test_Font.java:51–56  ·  view source on GitHub ↗
(FontRenderContext frc, String name, int style)

Source from the content-addressed store, hash-verified

49 System.exit(0);
50 }
51 private static void test(FontRenderContext frc, String name, int style) {
52 for (int i = 6 ; i < 50; i++) {
53 show(frc, name, style, i);
54 }
55 System.out.println();
56 }
57
58 private static void show(FontRenderContext frc, String name, int style, int size) {
59 Font f=new Font(name, style, size);//.deriveFont(style, size * 2);

Callers 1

mainMethod · 0.95

Calls 2

showMethod · 0.95
printlnMethod · 0.65

Tested by

no test coverage detected