From 004449306958d084b06d171450c3b86e01363653 Mon Sep 17 00:00:00 2001 From: Erik Schierboom Date: Fri, 9 Oct 2020 15:50:23 +0200 Subject: [PATCH] Add tests.toml file for all exercises with canonical data --- exercises/hello-world/.meta/tests.toml | 4 ++++ exercises/leap/.meta/tests.toml | 28 +++++++++++++++++++++++ exercises/resistor-color/.meta/tests.toml | 13 +++++++++++ exercises/two-fer/.meta/tests.toml | 10 ++++++++ 4 files changed, 55 insertions(+) create mode 100644 exercises/hello-world/.meta/tests.toml create mode 100644 exercises/leap/.meta/tests.toml create mode 100644 exercises/resistor-color/.meta/tests.toml create mode 100644 exercises/two-fer/.meta/tests.toml diff --git a/exercises/hello-world/.meta/tests.toml b/exercises/hello-world/.meta/tests.toml new file mode 100644 index 000000000..e64aebebc --- /dev/null +++ b/exercises/hello-world/.meta/tests.toml @@ -0,0 +1,4 @@ +[canonical-tests] + +# Say Hi! +"af9ffe10-dc13-42d8-a742-e7bdafac449d" = true diff --git a/exercises/leap/.meta/tests.toml b/exercises/leap/.meta/tests.toml new file mode 100644 index 000000000..8e23f5331 --- /dev/null +++ b/exercises/leap/.meta/tests.toml @@ -0,0 +1,28 @@ +[canonical-tests] + +# year not divisible by 4 in common year +"6466b30d-519c-438e-935d-388224ab5223" = true + +# year divisible by 2, not divisible by 4 in common year +"ac227e82-ee82-4a09-9eb6-4f84331ffdb0" = true + +# year divisible by 4, not divisible by 100 in leap year +"4fe9b84c-8e65-489e-970b-856d60b8b78e" = true + +# year divisible by 4 and 5 is still a leap year +"7fc6aed7-e63c-48f5-ae05-5fe182f60a5d" = true + +# year divisible by 100, not divisible by 400 in common year +"78a7848f-9667-4192-ae53-87b30c9a02dd" = true + +# year divisible by 100 but not by 3 is still not a leap year +"9d70f938-537c-40a6-ba19-f50739ce8bac" = true + +# year divisible by 400 in leap year +"42ee56ad-d3e6-48f1-8e3f-c84078d916fc" = true + +# year divisible by 400 but not by 125 is still a leap year +"57902c77-6fe9-40de-8302-587b5c27121e" = true + +# year divisible by 200, not divisible by 400 in common year +"c30331f6-f9f6-4881-ad38-8ca8c12520c1" = true diff --git a/exercises/resistor-color/.meta/tests.toml b/exercises/resistor-color/.meta/tests.toml new file mode 100644 index 000000000..0eb465662 --- /dev/null +++ b/exercises/resistor-color/.meta/tests.toml @@ -0,0 +1,13 @@ +[canonical-tests] + +# Black +"49eb31c5-10a8-4180-9f7f-fea632ab87ef" = true + +# White +"0a4df94b-92da-4579-a907-65040ce0b3fc" = true + +# Orange +"5f81608d-f36f-4190-8084-f45116b6f380" = true + +# Colors +"581d68fa-f968-4be2-9f9d-880f2fb73cf7" = true diff --git a/exercises/two-fer/.meta/tests.toml b/exercises/two-fer/.meta/tests.toml new file mode 100644 index 000000000..6c08723e4 --- /dev/null +++ b/exercises/two-fer/.meta/tests.toml @@ -0,0 +1,10 @@ +[canonical-tests] + +# no name given +"1cf3e15a-a3d7-4a87-aeb3-ba1b43bc8dce" = true + +# a name given +"b4c6dbb8-b4fb-42c2-bafd-10785abe7709" = true + +# another name given +"3549048d-1a6e-4653-9a79-b0bda163e8d5" = true