<Disclaimer> Please tell me if this is not the right venue for newb questions like this, and I’ll take it elsewhere. Not sure if this forum is just for errata, et al.
Trying to slog my way through the Agile Rails depot tutorial. I’m confused about
assert_equal… This might be my (intermediate) exposure to Java in the past, and my discomfort with Ruby’s lack of parentheses, but in Ruby-Doc, the
assert_equal method is structured like this:
` ~~~ assert_equal( expected, actual, failure_message = nil ) ~~~
in the Agile Rails PragProg book, on page 84, it looks like this:
assert_equal "must be greater than or equal to 0.01",
Is the string
"must be greater..."` the expected value? What is being tested for equality?