Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 695 Bytes

File metadata and controls

51 lines (34 loc) · 695 Bytes

Elixir Koans - 01 Equalities

import ExUnit.Assertions

We shall contemplate truth by testing reality, via equality

assert true == ___

Not something is the opposite of it

assert !true == ___

To understand reality, we must compare our expectations against reality

assert 2 == 1 + ___

Some things may appear different, but be the same

assert 1 == 2 / ___

Unless they actually are different

3.2 != ___

Some may be looking for bigger things

assert ___ > 3

Others are happy with less

assert ___ < 3

Next Steps