Search⌘ K

Test Your Knowledge!

Take this quiz to test what you've learned so far.

We'll cover the following...

Quiz on extending Elixir with metaprogramming

1.

In the MathTest module that we created, what would be the output of the following assert expression:

assert 49 / 7 + 7 == 7

A.
=============================================== 
FAILURE:  "Example Test"
=============================================== 
Expected: 49.0
to be equal to: 7
B.
=============================================== 
FAILURE: "Example Test"
=============================================== 
Expected: 7
to be equal to: 14.0
C.
=============================================== 
FAILURE: "Example Test"
=============================================== 
Expected: 14.0
to be equal to: 7

1 / 7