@Test
public void testClampLong() {

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