exercism / batch

Exercism exercises in Batch Script.
https://exercism.org/tracks/batch
MIT License
2 stars 3 forks source link

`darts` has identically named tests #55

Closed BNAndras closed 2 weeks ago

BNAndras commented 4 weeks ago
set "expected=5"
set "if_success=Test passed"
set "if_failed=Test failed: Asymmetric position between the inner and middle circles."
CALL :Assert "0" "-4"

set "expected=5"
set "if_success=Test passed"
set "if_failed=Test failed: Asymmetric position between the inner and middle circles."
CALL :Assert "1" "-4"

Can we distinguish between these two tests in some way? Just adding a number like (1) or (2) might be enough. Looking at the test log (below), it's unclear if these are two distinct tests or perhaps the same test was somehow tested twice.

C:\Users\anagy\Documents\Exercism\batch\darts>DartsTest.bat
Test passed
Test passed
Test failed: On the middle circle.
Test failed: On the inner circle.
Test failed: Exactly on center.
Test failed: Asymmetric position between the inner and middle circles.
Test failed: Asymmetric position between the inner and middle circles.