Skip to content

Commit f6aba0a

Browse files
committed
IHF: More tests added.
1 parent c97d4e7 commit f6aba0a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/StrLowerTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ public function it_works_with_an_empty_string()
88
$this->assertEquals('', str_lower(''));
99
}
1010

11+
/** @test */
12+
public function it_works_with_lowercased_string()
13+
{
14+
$this->assertEquals('test', str_lower('test'));
15+
}
16+
1117
/** @test */
1218
public function it_lowers_capitalized_word()
1319
{

tests/StrUpperTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ public function it_works_with_an_empty_string()
88
$this->assertEquals('', str_upper(''));
99
}
1010

11+
/** @test */
12+
public function it_works_with_uppercased_string()
13+
{
14+
$this->assertEquals('TEST', str_upper('TEST'));
15+
}
16+
1117
/** @test */
1218
public function it_uppers_capitalized_word()
1319
{

0 commit comments

Comments
 (0)