How is the "expected" variable in (result == expected) getting any value? If the "result" val is being made equal to "expected", where is expected picking up any value at all? very confusing
def test(x:Int, y:Double,
14 s:String, expected:Double):Unit = {
15 val result = addMultiply(x, y, s)
16 assert(result == expected,
17 "Expected " + expected +
18 " Got " + result)
19 println("result: " + result)
20 }