1 require "test/unit/testcase"
3 # TODO: rename this... drop rubicon lineage.
4 class RubiconTestCase < Test::Unit::TestCase
8 MsWin32 = :gak # TODO: fix
13 defined?(RUBY_VERSION) ? RUBY_VERSION : VERSION
16 def test_nathanial_talbott_is_my_archenemy
17 # do nothing but appease nathanial's inability to envision
18 # abstract test classes... stabity stab stab
21 # TODO: this is overly complicated and dumb
22 def truth_table(method, *result)
23 for a in [ false, true ]
24 expected = result.shift
25 assert_equal(expected, method.call(a))
26 assert_equal(expected, method.call(a ? self : nil))