Skip to content

Commit

Permalink
Test the longer string has been padded
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Feb 12, 2020
1 parent 2a4d4c0 commit f8a459c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Deterministic random number generator
=====================================

1 change: 1 addition & 0 deletions test/phpunit/StringSeedTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ public function testLongerString() {
$sut = new StringSeed($inputString);
$seedValue = (string)$sut;
self::assertStringStartsWith($inputString, $seedValue);
self::assertGreaterThan(strlen($inputString), strlen($seedValue));
}
}

0 comments on commit f8a459c

Please sign in to comment.