test(dispatcher): Add some tests with input 0

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2026-02-03 08:32:43 +01:00
parent 128d708ac3
commit 9caa4e20e5
No known key found for this signature in database
GPG key ID: F72FA5B49FFA96B0

View file

@ -541,6 +541,11 @@ class DispatcherTest extends \Test\TestCase {
[PHP_INT_MIN, PHP_INT_MAX, 42, false],
[0, 12, -5, true],
[-12, 0, 5, true],
[1, 200, 0, true],
[-15, -5, 0, true],
[-15, 15, 0, false],
[0, 200, 0, false],
[-200, 0, 0, false],
[7, 14, 5, true],
[7, 14, 10, false],
[-14, -7, -10, false],