1 require File.dirname(__FILE__) + '/../test_helper'
3 class Ohcount::LispTest < Ohcount::Test
6 lb = [Ohcount::LanguageBreakdown.new("lisp", "", ";;; comment", 0)]
7 assert_equal lb, Ohcount::parse(" ;;; comment", "lisp")
11 lb = [Ohcount::LanguageBreakdown.new("lisp", "", '""" comment """', 0)]
12 assert_equal lb, Ohcount::parse(' """ comment """', "lisp")
15 def test_doc_string_blank
16 lb = [Ohcount::LanguageBreakdown.new("lisp", "", '""""""', 0)]
17 assert_equal lb, Ohcount::parse(' """"""', "lisp")
20 def test_comprehensive
21 verify_parse("lsp1.lsp")