Sha256: e907dc55c5cb538c764c9d42a226ba05cca9b0fff86f16e6099229e82adfdddd
Contents?: true
Size: 428 Bytes
Versions: 39
Compression:
Stored size: 428 Bytes
Contents
# Author:: Nathaniel Talbott. # Copyright:: Copyright (c) 2000-2002 Nathaniel Talbott. All rights reserved. # License:: Ruby license. require 'test/unit' require 'subtracter' class TC_Subtracter < Test::Unit::TestCase def setup @subtracter = Subtracter.new(5) end def test_subtract assert_equal(3, @subtracter.subtract(2), "Should have subtracted correctly") end def teardown @subtracter = nil end end
Version data entries
39 entries across 39 versions & 9 rubygems