Adds a koan to demonstrate the use of deriving a default behaviour
This commit is contained in:
@@ -4,7 +4,8 @@ defmodule ProtocolsTests do
|
||||
|
||||
test "Protocols" do
|
||||
answers = [
|
||||
{:multiple, ["Emily enrolled at secondary school", "Darcy enrolled for ballet"]},
|
||||
{:multiple, ["Andre signed up for violin", "Darcy enrolled for ballet"]},
|
||||
"Emily enrolled at school",
|
||||
Protocol.UndefinedError
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user