- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/SC_Date/SC_Date_getMinutesTest.php
r22206 r22567 25 25 require_once($HOME . "/tests/class/Common_TestCase.php"); 26 26 27 class SC_Date_getMinutesTest extends Common_TestCase { 27 class SC_Date_getMinutesTest extends Common_TestCase 28 { 28 29 29 protected function setUp() { 30 protected function setUp() 31 { 30 32 parent::setUp(); 31 33 $this->objDate = new SC_Date_Ex(); 32 34 } 33 35 34 protected function tearDown() { 36 protected function tearDown() 37 { 35 38 parent::tearDown(); 36 39 } … … 38 41 ///////////////////////////////////////// 39 42 40 public function testGetMinutes_要素の数が60の配列を返す() { 43 public function testGetMinutes_要素の数が60の配列を返す() 44 { 41 45 $this->expected = 60; 42 46 $this->actual = count($this->objDate->getMinutes()); … … 45 49 } 46 50 47 public function testGetMinutes_要素の最低値が0の配列を返す() { 51 public function testGetMinutes_要素の最低値が0の配列を返す() 52 { 48 53 $this->expected = 0; 49 54 $this->actual = min($this->objDate->getMinutes()); … … 52 57 } 53 58 54 public function testGetMinutes_要素の最大値が59の配列を返す() { 59 public function testGetMinutes_要素の最大値が59の配列を返す() 60 { 55 61 $this->expected = 59; 56 62 $this->actual = max($this->objDate->getMinutes());
Note: See TracChangeset
for help on using the changeset viewer.