2

  1. Wir haben entschieden, dass keine negativen Maße möglich sein sollen.
PHPUnit 11.5.3 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.3
Configuration: phpunit.xml

....                                                                4 / 4 (100%)

Time: 00:00.001, Memory: 25.36 MB

Measurements (spriebsch\tfd\designPatterns\valueObject\measureOfLength\noNegativeMeasures\Measurements)
 ✔ Centimeters can be converted to int
 ✔ Centimeters cannot be negative
 ✔ Meters can be converted to float
 ✔ Meters cannot be negative

OK (4 tests, 4 assertions)
Ausgabe von phpunit --testdox
phpunit --testdox ausführen
@@@CTA@@@