@Test
public void testClampShort() {

    Assert.assertEquals((short) 5, MathUtil.clamp((short) 20, (short) 1, (short) 5));
    Assert.assertEquals((short) 2, MathUtil.clamp((short) -6, (short) 2, (short) 8));
    Assert.assertEquals((short) 4, MathUtil.clamp((short) 4, (short) -7, (short) 19));
    Assert.assertEquals((short) 3, MathUtil.clamp((short) 3, (short) 3, (short) 6));
    Assert.assertEquals((short) 12, MathUtil.clamp((short) 12, (short) 9, (short) 12));
}