Changeset 22567 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfIsZeroFillingTest.php
- Timestamp:
- 2013/02/18 19:09:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfIsZeroFillingTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Utils_sfIsZeroFillingTest extends Common_TestCase { 34 class SC_Utils_sfIsZeroFillingTest extends Common_TestCase 35 { 35 36 36 protected function setUp() { 37 protected function setUp() 38 { 37 39 parent::setUp(); 38 40 } 39 41 40 protected function tearDown() { 42 protected function tearDown() 43 { 41 44 parent::tearDown(); 42 45 } 43 46 44 47 ///////////////////////////////////////// 45 public function testSfIsZeroFilling_桁数が1の場合_FALSEを返す() { 48 public function testSfIsZeroFilling_桁数が1の場合_FALSEを返す() 49 { 46 50 $this->expected = FALSE; 47 51 $this->actual = SC_Utils::sfIsZeroFilling('0'); … … 50 54 } 51 55 52 public function testSfIsZeroFilling_桁数が2以上で0埋めされていない場合_FALSEを返す() { 56 public function testSfIsZeroFilling_桁数が2以上で0埋めされていない場合_FALSEを返す() 57 { 53 58 $this->expected = FALSE; 54 59 $this->actual = SC_Utils::sfIsZeroFilling('12'); … … 57 62 } 58 63 59 public function testSfIsZeroFilling_桁数が2以上で0埋めされている場合_TRUEを返す() { 64 public function testSfIsZeroFilling_桁数が2以上で0埋めされている場合_TRUEを返す() 65 { 60 66 $this->expected = TRUE; 61 67 $this->actual = SC_Utils::sfIsZeroFilling('01');
Note: See TracChangeset
for help on using the changeset viewer.