# File test/test_sexp.rb, line 112 def test_equals2_sexp sexp2 = s(1, 2, 3) if @sexp.class == Sexp then # sexp3 = t(1, 2, 3, Type.str) # case @sexp # when TypedSexp # assert_equal(@sexp, sexp3) # assert_not_equal(@sexp, sexp2) # when Sexp assert_equal(@sexp, sexp2) # assert_not_equal(@sexp, sexp3) else assert_not_equal(@sexp, sexp2) # else # flunk "unknown type" end end