Test Your Knowledge!
Take this quiz to test what you've learned so far.
Quiz on extending Elixir with metaprogramming
1
In the MathTest
module that we just created, what would be the output of the following assert
expression:
assert 56 * 8 + 8 - 8 / 8 == 16
A)
===============================================
FAILURE: Example Test
===============================================
Expected: 425.0
to be equal to: 16
B)
===============================================
FAILURE: Example Test
===============================================
Expected: 455.0
to be equal to: 16
C)
===============================================
FAILURE: Example Test
===============================================
Expected: 16
to be equal to: 455.0
Question 1 of 70 attempted
Get hands-on with 1200+ tech skills courses.