# This has been shamelessly copied from java_test.rb because my Ruby is not so
# good and I don't really know what people expect from a Ohcount language test
#  -- Reinier Lamers 2008-01-19
require File.dirname(__FILE__) + '/../test_helper'

class Ohcount::HaskellTest < Ohcount::Test
        def test_comments
                lb = [Ohcount::LanguageBreakdown.new("haskell", "", "--comment", 0)]
                assert_equal lb, Ohcount::parse(" --comment", "haskell")
        end

        def test_comprehensive
                verify_parse("haskell1.hs")
        end

        def test_comprehensive_with_carriage_returns
                verify_parse("haskell2.hs")
        end
end

                

