Skip to content

Commit 5188f22

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

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
@@ -14,6 +14,12 @@ public function it_works_with_lowercased_string()
1414
$this->assertEquals('test', str_lower('test'));
1515
}
1616

17+
/** @test */
18+
public function it_works_with_lowercased_sentence()
19+
{
20+
$this->assertEquals('another test', str_lower('another test'));
21+
}
22+
1723
/** @test */
1824
public function it_lowers_capitalized_word()
1925
{

tests/StrUpperTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ public function it_works_with_uppercased_string()
1414
$this->assertEquals('TEST', str_upper('TEST'));
1515
}
1616

17+
/** @test */
18+
public function it_works_with_uppercased_sentence()
19+
{
20+
$this->assertEquals('ANOTHER TEST', str_upper('ANOTHER TEST'));
21+
}
22+
1723
/** @test */
1824
public function it_uppers_capitalized_word()
1925
{

0 commit comments

Comments
 (0)