From 9913b24f1281815f67a946dbbad201ec73559532 Mon Sep 17 00:00:00 2001 From: Daniel Mita <966706+m-dango@users.noreply.github.com> Date: Sun, 14 Apr 2024 19:45:45 +0100 Subject: [PATCH] Remove duplicated tests in collatz-conjecture (#716) --- exercises/practice/collatz-conjecture/.meta/tests.toml | 2 ++ .../collatz-conjecture/t/collatz-conjecture.rakutest | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/exercises/practice/collatz-conjecture/.meta/tests.toml b/exercises/practice/collatz-conjecture/.meta/tests.toml index 0014abd1..cc34e168 100644 --- a/exercises/practice/collatz-conjecture/.meta/tests.toml +++ b/exercises/practice/collatz-conjecture/.meta/tests.toml @@ -23,6 +23,7 @@ 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" @@ -30,6 +31,7 @@ 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" diff --git a/exercises/practice/collatz-conjecture/t/collatz-conjecture.rakutest b/exercises/practice/collatz-conjecture/t/collatz-conjecture.rakutest index 150e63f7..eac0d5d2 100755 --- a/exercises/practice/collatz-conjecture/t/collatz-conjecture.rakutest +++ b/exercises/practice/collatz-conjecture/t/collatz-conjecture.rakutest @@ -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",