Skip to content

Instantly share code, notes, and snippets.

require 'test/unit'
#
# The goal for this exercise is to get the tests to pass while not using
# the expected functionality. The 'multiply' method shouldn't actually
# multiply, but it should get the tests to pass _somehow_.
#
# CompTest may be renamed, as may CompEntry, so don't rely on names.
#
class CompEntry