Files
pest/tests/Fixtures/Tia/app/tests/Feature/CoversCalculatorTest.php
T
nuno maduro 4d3d0105b7 chore: style
2026-08-06 16:02:36 +01:00

14 lines
294 B
PHP

<?php
declare(strict_types=1);
use Fixture\App\Calculator;
test('adds within a feature test', function (): void {
expect((new Calculator)->add(10, 5))->toBe(15);
});
test('subtracts within a feature test', function (): void {
expect((new Calculator)->subtract(10, 5))->toBe(5);
});