|
<?php
|
|
|
|
use App\Game\Map\Continent;
|
|
|
|
it('names continents by the hundreds of y, then x', function () {
|
|
expect(Continent::of(500, 500))->toBe('K55')
|
|
->and(Continent::of(123, 456))->toBe('K41')
|
|
->and(Continent::of(0, 0))->toBe('K00')
|
|
->and(Continent::of(999, 99))->toBe('K09');
|
|
});
|