Skip to content

Commit 3400047

Browse files
committed
Add test-util.ss to the test file list in all the config.json files.
I used configlet to format the exercise configs too after the changes. At this point I believe everything is read to go except for the fact that the test-runner hasn't been updated yet. We should merge the test-runner PR before mergin this.
1 parent 50df62a commit 3400047

File tree

42 files changed

+125
-84
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+125
-84
lines changed

config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"%{kebab_slug}.scm"
2424
],
2525
"test": [
26-
"test.scm"
26+
"test.scm",
27+
"test-util.ss"
2728
],
2829
"example": [
2930
"example.scm"
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
32
"authors": [
43
"tongkiat"
54
],
@@ -8,12 +7,14 @@
87
"accumulate.scm"
98
],
109
"test": [
11-
"test.scm"
10+
"test.scm",
11+
"test-util.ss"
1212
],
1313
"example": [
1414
".meta/example.scm"
1515
]
1616
},
17+
"blurb": "Implement the `accumulate` operation, which, given a collection and an operation to perform on each element of the collection, returns a new collection containing the result of applying that operation to each element of the input collection.",
1718
"source": "Conversation with James Edward Gray II",
1819
"source_url": "https://twitter.com/jeg2"
1920
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Convert a long phrase to its acronym",
32
"authors": [
43
"tongkiat"
54
],
@@ -8,12 +7,14 @@
87
"acronym.scm"
98
],
109
"test": [
11-
"test.scm"
10+
"test.scm",
11+
"test-util.ss"
1212
],
1313
"example": [
1414
".meta/example.scm"
1515
]
1616
},
17+
"blurb": "Convert a long phrase to its acronym",
1718
"source": "Julien Vanier",
1819
"source_url": "https://github.com/monkbroc"
1920
}

exercises/practice/affine-cipher/.meta/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.",
32
"authors": [
43
"guygastineau"
54
],
@@ -11,12 +10,14 @@
1110
"affine-cipher.scm"
1211
],
1312
"test": [
14-
"test.scm"
13+
"test.scm",
14+
"test-util.ss"
1515
],
1616
"example": [
1717
".meta/example.scm"
1818
]
1919
},
20+
"blurb": "Create an implementation of the Affine cipher, an ancient encryption algorithm from the Middle East.",
2021
"source": "Wikipedia",
2122
"source_url": "http://en.wikipedia.org/wiki/Affine_cipher"
2223
}

exercises/practice/anagram/.meta/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
32
"authors": [
43
"canweriotnow"
54
],
@@ -14,12 +13,14 @@
1413
"anagram.scm"
1514
],
1615
"test": [
17-
"test.scm"
16+
"test.scm",
17+
"test-util.ss"
1818
],
1919
"example": [
2020
".meta/example.scm"
2121
]
2222
},
23+
"blurb": "Given a word and a list of possible anagrams, select the correct sublist.",
2324
"source": "Inspired by the Extreme Startup game",
2425
"source_url": "https://github.com/rchatley/extreme_startup"
2526
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Determine if a number is an Armstrong number",
32
"authors": [
43
"tongkiat"
54
],
@@ -8,12 +7,14 @@
87
"armstrong-numbers.scm"
98
],
109
"test": [
11-
"test.scm"
10+
"test.scm",
11+
"test-util.ss"
1212
],
1313
"example": [
1414
".meta/example.scm"
1515
]
1616
},
17+
"blurb": "Determine if a number is an Armstrong number",
1718
"source": "Wikipedia",
1819
"source_url": "https://en.wikipedia.org/wiki/Narcissistic_number"
1920
}

exercises/practice/atbash-cipher/.meta/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
32
"authors": [
43
"mattwellss"
54
],
@@ -13,12 +12,14 @@
1312
"atbash-cipher.scm"
1413
],
1514
"test": [
16-
"test.scm"
15+
"test.scm",
16+
"test-util.ss"
1717
],
1818
"example": [
1919
".meta/example.scm"
2020
]
2121
},
22+
"blurb": "Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East.",
2223
"source": "Wikipedia",
2324
"source_url": "http://en.wikipedia.org/wiki/Atbash"
2425
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Implement a binary search algorithm.",
32
"authors": [
43
"jitwit"
54
],
@@ -8,12 +7,14 @@
87
"binary-search.scm"
98
],
109
"test": [
11-
"test.scm"
10+
"test.scm",
11+
"test-util.ss"
1212
],
1313
"example": [
1414
".meta/example.scm"
1515
]
1616
},
17+
"blurb": "Implement a binary search algorithm.",
1718
"source": "Wikipedia",
1819
"source_url": "http://en.wikipedia.org/wiki/Binary_search_algorithm"
1920
}

exercises/practice/bob/.meta/config.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
32
"authors": [
43
"canweriotnow"
54
],
@@ -14,12 +13,14 @@
1413
"bob.scm"
1514
],
1615
"test": [
17-
"test.scm"
16+
"test.scm",
17+
"test-util.ss"
1818
],
1919
"example": [
2020
".meta/example.scm"
2121
]
2222
},
23+
"blurb": "Bob is a lackadaisical teenager. In conversation, his responses are very limited.",
2324
"source": "Inspired by the 'Deaf Grandma' exercise in Chris Pine's Learn to Program tutorial.",
2425
"source_url": "http://pine.fm/LearnToProgram/?Chapter=06"
2526
}
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"blurb": "Correctly determine change to be given using the least number of coins",
32
"authors": [
43
"jitwit"
54
],
@@ -8,12 +7,14 @@
87
"change.scm"
98
],
109
"test": [
11-
"test.scm"
10+
"test.scm",
11+
"test-util.ss"
1212
],
1313
"example": [
1414
".meta/example.scm"
1515
]
1616
},
17+
"blurb": "Correctly determine change to be given using the least number of coins",
1718
"source": "Software Craftsmanship - Coin Change Kata",
1819
"source_url": "https://web.archive.org/web/20130115115225/http://craftsmanship.sv.cmu.edu:80/exercises/coin-change-kata"
1920
}

0 commit comments

Comments
 (0)