diff --git a/src/test/java/jenkins/advancedqueue/PriorityCalculationsUtilTest.java b/src/test/java/jenkins/advancedqueue/PriorityCalculationsUtilTest.java index 4dc10ced..e2e2e0f2 100644 --- a/src/test/java/jenkins/advancedqueue/PriorityCalculationsUtilTest.java +++ b/src/test/java/jenkins/advancedqueue/PriorityCalculationsUtilTest.java @@ -17,6 +17,9 @@ public void testScale() { Assert.assertEquals(5, PriorityCalculationsUtil.scale(5, 10, 3)); Assert.assertEquals(8, PriorityCalculationsUtil.scale(5, 10, 4)); Assert.assertEquals(10, PriorityCalculationsUtil.scale(5, 10, 5)); + + Assert.assertEquals(4, PriorityCalculationsUtil.scale(7, 7, 4)); + Assert.assertEquals(0, 1); } @Test