@Test
public void testMin() {

    Assert.assertEquals(Deadline.MIN_VALUE, Deadline.MIN_VALUE.min(Deadline.MAX_VALUE));
    Assert.assertEquals(Deadline.MIN_VALUE, Deadline.MAX_VALUE.min(Deadline.MIN_VALUE));
    //
    final Deadline deadline0 = Deadline.fromUnixMilliseconds(0);
    Assert.assertEquals(Deadline.MIN_VALUE, deadline0.min(Deadline.MIN_VALUE));
    Assert.assertEquals(deadline0, deadline0.min(Deadline.MAX_VALUE));
    //
    final Deadline deadline1 = Deadline.fromUnixMilliseconds(0);
    Assert.assertEquals(Deadline.MIN_VALUE, deadline1.min(Deadline.MIN_VALUE));
    Assert.assertEquals(deadline0, deadline1.min(Deadline.MAX_VALUE));
}