Skip to content

Commit

Permalink
IHF: More tests added.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-ivanov committed Sep 14, 2016
1 parent f6aba0a commit 5188f22
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/StrLowerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public function it_works_with_lowercased_string()
$this->assertEquals('test', str_lower('test'));
}

/** @test */
public function it_works_with_lowercased_sentence()
{
$this->assertEquals('another test', str_lower('another test'));
}

/** @test */
public function it_lowers_capitalized_word()
{
Expand Down
6 changes: 6 additions & 0 deletions tests/StrUpperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ public function it_works_with_uppercased_string()
$this->assertEquals('TEST', str_upper('TEST'));
}

/** @test */
public function it_works_with_uppercased_sentence()
{
$this->assertEquals('ANOTHER TEST', str_upper('ANOTHER TEST'));
}

/** @test */
public function it_uppers_capitalized_word()
{
Expand Down

0 comments on commit 5188f22

Please sign in to comment.