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