Test-refactoring

first argument of assert_equal is the expected result, second one is the actual result