Skip to content

Commit

Permalink
Add tests.toml file for all exercises with canonical data
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom authored and lpil committed Oct 13, 2020
1 parent 84a693e commit 0044493
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exercises/hello-world/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[canonical-tests]

# Say Hi!
"af9ffe10-dc13-42d8-a742-e7bdafac449d" = true
28 changes: 28 additions & 0 deletions exercises/leap/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions exercises/resistor-color/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions exercises/two-fer/.meta/tests.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0044493

Please sign in to comment.