Initial Revision
[ohcount] / test / unit / assembler_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2
3 class AssemblerTest < LingoTest
4         def test_comment
5                 lb = [Ohcount::LanguageBreakdown.new("assembler", "", "!comment\n;comment", 0)]
6                 assert_equal lb, Ohcount::parse(" !comment\n ;comment", "assembler")
7         end
8
9         def test_comprehensive
10                 verify_parse("assembler1.asm")
11         end
12
13         def test_comprehensive_2
14                 verify_parse("assembler2.S")
15         end
16 end