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