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