Skip to content

Commit

Permalink
Partially revert 15d9555 (I would like to be paranoid here)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 7, 2019
1 parent f37ad60 commit 20665d0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/unit/Framework/TestCaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -926,6 +926,10 @@ public function testSizeUnknown(): void
$this->assertFalse($test->hasSize());

$this->assertSame(TestUtil::UNKNOWN, $test->getSize());

$this->assertFalse($test->isLarge());
$this->assertFalse($test->isMedium());
$this->assertFalse($test->isSmall());
}

public function testSizeLarge(): void
Expand All @@ -935,6 +939,10 @@ public function testSizeLarge(): void
$this->assertTrue($test->hasSize());

$this->assertSame(TestUtil::LARGE, $test->getSize());

$this->assertTrue($test->isLarge());
$this->assertFalse($test->isMedium());
$this->assertFalse($test->isSmall());
}

public function testSizeMedium(): void
Expand All @@ -944,6 +952,10 @@ public function testSizeMedium(): void
$this->assertTrue($test->hasSize());

$this->assertSame(TestUtil::MEDIUM, $test->getSize());

$this->assertFalse($test->isLarge());
$this->assertTrue($test->isMedium());
$this->assertFalse($test->isSmall());
}

public function testSizeSmall(): void
Expand All @@ -953,6 +965,10 @@ public function testSizeSmall(): void
$this->assertTrue($test->hasSize());

$this->assertSame(TestUtil::SMALL, $test->getSize());

$this->assertFalse($test->isLarge());
$this->assertFalse($test->isMedium());
$this->assertTrue($test->isSmall());
}

public function testGetNameReturnsMethodName(): void
Expand Down

0 comments on commit 20665d0

Please sign in to comment.