Sha256: 197ce3d98931a4c6f64438f672c93ff3d57c25e2d29868b35512bd4dcc5cf88b
Contents?: true
Size: 680 Bytes
Versions: 96
Compression:
Stored size: 680 Bytes
Contents
<?php require "leap.php"; class YearTest extends \PHPUnit_Framework_TestCase { public function testLeapYear() { $this->assertTrue(isLeap(1996)); } public function testNonLeapYear() { $this->markTestSkipped(); $this->assertFalse(isLeap(1997)); } public function testNonLeapEvenYear() { $this->markTestSkipped(); $this->assertFalse(isLeap(1998)); } public function testCentury() { $this->markTestSkipped(); $this->assertFalse(isLeap(1900)); } public function testFourthCentury() { $this->markTestSkipped(); $this->assertTrue(isLeap(2400)); } }
Version data entries
96 entries across 96 versions & 1 rubygems