Skip to content

Commit

Permalink
Remove duplicated tests in collatz-conjecture
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dango committed Apr 14, 2024
1 parent f45b127 commit f0508dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 2 additions & 0 deletions exercises/practice/collatz-conjecture/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,15 @@ description = "large number of even and odd steps"

[7d4750e6-def9-4b86-aec7-9f7eb44f95a3]
description = "zero is an error"
include = false

[2187673d-77d6-4543-975e-66df6c50e2da]
description = "zero is an error"
reimplements = "7d4750e6-def9-4b86-aec7-9f7eb44f95a3"

[c6c795bf-a288-45e9-86a1-841359ad426d]
description = "negative value is an error"
include = false

[ec11f479-56bc-47fd-a434-bcd7a31a7a2e]
description = "negative value is an error"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,11 @@ cmp-ok( # begin: ecfd0210-6f85-44f6-8280-f65534892ff6
"large number of even and odd steps",
); # end: ecfd0210-6f85-44f6-8280-f65534892ff6

dies-ok( # begin: 7d4750e6-def9-4b86-aec7-9f7eb44f95a3
{ collatz-conjecture 0 },
"zero is an error",
); # end: 7d4750e6-def9-4b86-aec7-9f7eb44f95a3

dies-ok( # begin: 2187673d-77d6-4543-975e-66df6c50e2da
{ collatz-conjecture 0 },
"zero is an error",
); # end: 2187673d-77d6-4543-975e-66df6c50e2da

dies-ok( # begin: c6c795bf-a288-45e9-86a1-841359ad426d
{ collatz-conjecture -15 },
"negative value is an error",
); # end: c6c795bf-a288-45e9-86a1-841359ad426d

dies-ok( # begin: ec11f479-56bc-47fd-a434-bcd7a31a7a2e
{ collatz-conjecture -15 },
"negative value is an error",
Expand Down

0 comments on commit f0508dd

Please sign in to comment.