Skip to content

Commit

Permalink
A few more Year tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 20, 2023
1 parent f0ff12d commit 8226cde
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions tests/YearTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,20 @@ public function testToString(int $year, string $expectedString): void
public function providerToString(): array
{
return [
[-100, '-0100'],
[100, '0100'],
[-105781, '-105781'],
[-1001, '-1001'],
[-1000, '-1000'],
[-999, '-0999'],
[-99, '-0099'],
[-9, '-0009'],
[-1, '-0001'],
[0, '0000'],
[1, '0001'],
[9, '0009'],
[99, '0099'],
[999, '0999'],
[1000, '1000'],
[1001, '1001'],
[1987, '1987'],
[105781, '105781'],
];
Expand Down

0 comments on commit 8226cde

Please sign in to comment.