Sha256: 8a59632ec7cbe76a9e55475a35d6860d6b4d06ab1d1ac8fe1f495541bce9d10a
Contents?: true
Size: 799 Bytes
Versions: 181
Compression:
Stored size: 799 Bytes
Contents
import org.junit.Test import org.junit.Ignore import kotlin.test.assertFalse import kotlin.test.assertTrue class LeapTest { @Test fun leapYear() { assertTrue(Year(1996).isLeap) } @Ignore @Test fun standardOddYear() { assertFalse(Year(1997).isLeap) } @Ignore @Test fun standardEvenYear() { assertFalse(Year(1998).isLeap) } @Ignore @Test fun standardNineteenthCentury() { assertFalse(Year(1900).isLeap) } @Ignore @Test fun standardEighteenthCentury() { assertFalse(Year(1800).isLeap) } @Ignore @Test fun leapTwentyFourthCentury() { assertTrue(Year(2400).isLeap) } @Ignore @Test fun leapY2K() { assertTrue(Year(2000).isLeap) } }
Version data entries
181 entries across 181 versions & 1 rubygems