We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1245ae5 commit 334bc47Copy full SHA for 334bc47
tests/FileSizeTest.php
@@ -196,4 +196,24 @@ public function custom_decimal_and_thousands_marks_are_supported()
196
197
$this->assertSame($size->asAuto(), '1,15 TB');
198
}
199
+
200
+ /**
201
+ * @test
202
+ */
203
+ public function smallest_integer_is_supported()
204
+ {
205
+ $size = new FileSize(PHP_INT_MIN);
206
207
+ $this->assertIsNumeric($size->as('YB'));
208
+ }
209
210
211
212
213
+ public function largest_integer_is_supported()
214
215
+ $size = new FileSize(PHP_INT_MAX);
216
217
218
219
0 commit comments