Initial Revision
[ohcount] / test / unit / erlang_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2
3 class ErlangTest < LingoTest
4
5         def test_comment
6                 lb = [Ohcount::LanguageBreakdown.new("erlang", "", "%%comment", 0)]
7                 assert_equal lb, Ohcount::parse(" %%comment", "erlang")
8         end
9
10         def test_comprehensive
11                 verify_parse("erl1.erl")
12         end
13 end