@Test public void isHighLevel() { Stream.of(0, 1, 2).forEach(level -> assertTrue(PriorityHelper.isHighLevel(level))); }
public static boolean isHighLevel(int priority) { return priority == 0 || priority == 1 || priority == 2; }
PriorityHelper { public static boolean isHighLevel(int priority) { return priority == 0 || priority == 1 || priority == 2; } }
PriorityHelper { public static boolean isHighLevel(int priority) { return priority == 0 || priority == 1 || priority == 2; } private  PriorityHelper(); }
PriorityHelper { public static boolean isHighLevel(int priority) { return priority == 0 || priority == 1 || priority == 2; } private  PriorityHelper(); static boolean isHighLevel(int priority); static boolean isMediumLevel(int priority); static boolean isLowLevel(int priority); static int calculateWeightedPenalty(int priority, int endTime); }
PriorityHelper { public static boolean isHighLevel(int priority) { return priority == 0 || priority == 1 || priority == 2; } private  PriorityHelper(); static boolean isHighLevel(int priority); static boolean isMediumLevel(int priority); static boolean isLowLevel(int priority); static int calculateWeightedPenalty(int priority, int endTime);  }