Sha256: 93ef83cfbbceafb46a492f7b44719209f83516bec5011c4ecb1b8912617cea8f

Contents?: true

Size: 245 Bytes

Versions: 77

Compression:

Stored size: 245 Bytes

Contents

import ceylon.test { ... }

{[Integer, Boolean]*} cases =>
  {[2015, false], [2016, true], [2100, false], [2000, true]};

test
parameters(`value cases`)
void testLeapYear(Integer year, Boolean isLeap) {
  assertEquals(leapYear(year), isLeap);
}

Version data entries

77 entries across 77 versions & 1 rubygems

Version Path
trackler-2.0.8.43 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.42 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.41 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.40 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.39 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.38 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.37 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.36 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.35 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.34 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.33 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.32 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.31 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.30 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.29 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.28 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.27 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.26 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.24 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon
trackler-2.0.8.23 tracks/ceylon/exercises/leap/source/leap/LeapTest.ceylon