@Test public void isMediumLevel() { Stream.of(3, 4, 5, 6).forEach(level -> assertTrue(PriorityHelper.isMediumLevel(level))); }
public static boolean isMediumLevel(int priority) { return priority == 3 || priority == 4 || priority == 5 || priority == 6; }
PriorityHelper { public static boolean isMediumLevel(int priority) { return priority == 3 || priority == 4 || priority == 5 || priority == 6; } }
PriorityHelper { public static boolean isMediumLevel(int priority) { return priority == 3 || priority == 4 || priority == 5 || priority == 6; } private  PriorityHelper(); }
PriorityHelper { public static boolean isMediumLevel(int priority) { return priority == 3 || priority == 4 || priority == 5 || priority == 6; } 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 isMediumLevel(int priority) { return priority == 3 || priority == 4 || priority == 5 || priority == 6; } private  PriorityHelper(); static boolean isHighLevel(int priority); static boolean isMediumLevel(int priority); static boolean isLowLevel(int priority); static int calculateWeightedPenalty(int priority, int endTime);  }