In ruby, can you execute assert_equal and other asserts while in irb?

Viewed 12916

Can you execute assert_equal from within irb? This does not work.

require 'test/unit'
assert_equal(5,5)
3 Answers
Related