Пример #1
0
 def test_get_line_count4(self):
     """
     Test line count for file4.vim.
     """
     line_count = fp.get_line_count(PATH + 'file4.vim')
     assert line_count == 16, "Should have 16 lines but has " + str(line_count)
Пример #2
0
 def test_get_line_count5(self):
     """
     Test line count for file5.txt, empty file with line breaks.
     """
     line_count = fp.get_line_count(PATH + 'file5.txt')
     assert line_count == 24, "Should have 24 lines but has " + str(line_count)
Пример #3
0
 def test_get_line_count1(self):
     """
     Test line count for file1.vim.
     """
     line_count = fp.get_line_count(PATH + 'file1.vim')
     assert line_count == 30, "Should have 33 lines but has " + str(line_count)