214 Commits

Author SHA1 Message Date
Jay Hayes
b4fb404aff Quote expressions instead of hand-writing them
This makes it much easier to grok.
2016-04-24 22:58:26 -05:00
Jay Hayes
8a706846d3 Remove unused functions 2016-04-24 22:58:01 -05:00
Felipe Seré
cb560d6815 Merge pull request #76 from elixirkoans/remove-blank-assertions
Remove BlankAssertions
2016-04-24 15:14:24 +01:00
Jay Hayes
7465dca41f Add trailing commas to multi-line lists and maps 2016-04-23 20:38:43 -05:00
Uku Taht
5e7391402e Stop wrapping ExUnit 2016-04-23 21:39:22 +01:00
Felipe Sere
b1479487b0 Create a test file for each of the koan modules 2016-04-23 12:31:05 +01:00
Felipe Sere
14d4e4f551 Make sure blank is on the right and improve koans 2016-04-23 12:03:13 +01:00
Uku Taht
ded0f11ec6 Use triple underscore instead of double 2016-04-20 11:23:44 +01:00
Uku Taht
ea2bb8f9bf Use bare double underscores instead of atoms 2016-04-19 13:35:20 +01:00
Uku Taht
452aa5d9ee Remove arithmetic koans 2016-04-18 13:31:32 +01:00
Uku Taht
57595eb05a Merge pull request #67 from ukutaht/koans_for_agents
Koans for agents
2016-04-11 14:11:13 +01:00
Uku Taht
0b07f61bef Merge pull request #66 from ukutaht/improve_enum_koans
Improve enum koans
2016-04-11 13:54:47 +01:00
Felipe Sere
6752ec758c Improve and enforce naming of koans at compile time 2016-04-10 19:14:35 +01:00
Felipe Sere
12a511b309 A few simple koans about agents 2016-04-10 19:07:06 +01:00
Felipe Sere
98ab1a0e26 Improve enum koans 2016-04-10 11:56:49 +01:00
Felipe Sere
2b999605f5 Improve the wording in the function koans 2016-04-10 00:24:31 +01:00
Uku Taht
4c49a20927 Be more positive in string koans 2016-04-10 00:12:23 +01:00
Uku Taht
b63a5d8e9a Combine keys and values map koans 2016-04-10 00:08:07 +01:00
Uku Taht
9e16bfdac8 Attempt at making maps easier to go through 2016-04-09 23:42:01 +01:00
Uku Taht
cbceaec895 Merge pull request #63 from ukutaht/koan_per_process
Koan per process
2016-04-09 23:24:59 +01:00
Felipe Sere
cc8fa19ce0 Minor cleanup 2016-04-09 23:19:18 +01:00
Felipe Sere
7e03cc37a9 Extract pure executor of koans 2016-04-09 19:16:42 +01:00
Felipe Sere
96366991dc Sort the result from #keys and #values to make the result more obvious. 2016-04-06 22:05:48 +01:00
Felipe Sere
88ee80b73d Introduce --koan=<name> to run a specific koan module. 2016-04-04 20:57:17 +01:00
Felipe Sere
f98b0699f5 Improve punctuation in Structs koans 2016-03-21 21:39:57 +00:00
Felipe Sere
96b473a994 Improve punctuation in PatternMatching koans 2016-03-21 21:39:57 +00:00
Felipe Sere
b95d4f1202 Fix punctuation 2016-03-21 21:39:57 +00:00
Felipe Sere
a0bb840cfc Improve the names of the process koans 2016-03-21 21:39:57 +00:00
Felipe Sere
60b18aae1f Pull helper methods out of koans 2016-03-21 21:39:57 +00:00
Felipe Sere
862fb19dd7 Improve enum koans 2016-03-21 21:39:57 +00:00
Felipe Sere
33a06b4ec6 Improve the function koans slightly 2016-03-21 21:39:57 +00:00
Felipe Sere
679bacc632 Initial work on Functions 2016-03-21 21:39:57 +00:00
Felipe Seré
23b08a6c81 Merge pull request #50 from ukutaht/improve-descriptions
Improve description of Maps, Lists and Tuples
2016-03-21 21:39:23 +00:00
Uku Taht
264381338a Add list koan back in 2016-03-21 13:18:38 +00:00
Uku Taht
7ee7514192 Improve some descriptions a little bit 2016-03-20 20:56:27 +00:00
Felipe Sere
0de0d6b284 Move sample module into test/support 2016-03-20 20:10:10 +00:00
Felipe Sere
6e8845cb51 Assert on result of Task.start_link/1 2016-03-20 19:51:45 +00:00
Felipe Sere
994579f497 Rename and clean the ASTMangler to Blanks 2016-03-20 19:51:45 +00:00
Felipe Sere
4897527dab Use a tuple to get indexed access to a arguments 2016-03-20 19:51:45 +00:00
Felipe Sere
89dac5bb05 ASTMangler supports multiple placeholders 2016-03-20 19:51:45 +00:00
Uku Taht
fe0096db49 New order for koans
Equalities
Arithmetic
Strings
Tuples
Lists
Maps
Structs
PatternMatching
Functions
Enums
Processes
Tasks
2016-03-20 19:11:13 +00:00
Uku Taht
17210ebe56 Remove assertions on errors 2016-03-17 16:47:15 +00:00
Felipe Sere
ddba726e38 Adds koans about tuples 2016-03-17 11:41:23 +00:00
Felipe Sere
e927ad99ca Extract answers from Tasks module 2016-03-17 10:13:27 +00:00
Felipe Sere
b70e8ea095 Extract answers from processes.
For some reason I don't quite understand I had to rewrite
assert_receive as I was not getting failures when I was expecting them.
2016-03-17 10:04:01 +00:00
Felipe Sere
e4d1cad6df Refernece the Person struct from test harness 2016-03-16 21:55:19 +00:00
Felipe Sere
243a8a07d8 Extract answers from PatternMatching module 2016-03-16 21:53:29 +00:00
Felipe Sere
56b6679a69 Extract answers from Structs module 2016-03-15 23:14:07 +00:00
Uku Taht
52d1c1161e Extract answers for Enum 2016-03-15 23:10:21 +00:00
Felipe Sere
245b094e7d Extract answers from arithmetic module 2016-03-15 23:04:23 +00:00