1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 14:14:05 +00:00
enums/tests/Pest/ValuesTest.php
2022-03-12 23:09:34 +10:00

9 lines
214 B
PHP

<?php
it('can return an array of case values from a backed enum')
->expect(Status::values())
->toBe([0, 1]);
it('can returns an empty array from a pure enum')
->expect(Role::values())
->toBe([]);