Skip to content

Commit

Permalink
Test for CustomContext::getScale()
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Nov 5, 2017
1 parent ecdeaa6 commit 59e7507
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Context/CustomContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ public function providerApplyTo()
];
}

public function testGetStep()
public function testGetScaleGetStep()
{
$context = new CustomContext(2, 50);
$context = new CustomContext(8, 50);
$this->assertSame(8, $context->getScale());
$this->assertSame(50, $context->getStep());
}
}

0 comments on commit 59e7507

Please sign in to comment.