Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkan0201 committed Oct 4, 2023
1 parent b89f444 commit 4191558
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Binary file modified test/__pycache__/test_ashcount.cpython-38-pytest-6.1.1.pyc
Binary file not shown.
18 changes: 9 additions & 9 deletions test/test_ashcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@
from module.ashcount import counter , py_counter

def tset_counter1():
assert counter.line_counter(path="text_test.txt") == 4
assert counter.line_counter(path="./test/text_test.txt") == 4

def tset_counter2():
assert counter.counting_main_lines(path="text_test.txt") == 2
assert counter.counting_main_lines(path="./test/text_test.txt") == 2

def tset_counter3():
assert counter.word_count(path="text_test.txt") == 11
assert counter.word_count(path="./test/text_test.txt") == 11

def test_py_counter1():
assert py_counter.python_line_count(path="python_test.py") == 8
def tset_counter4():
assert py_counter.python_line_count(path="./test/python_test.py") == 8

def test_py_counter2():
assert py_counter.python_comment_count(path="python_test.py") == 2
def tset_counter5():
assert py_counter.python_comment_count(path="./test/python_test.py") == 2

def test_py_counter3():
assert py_counter.pure_python_code(path="python_test.py") == 3
def tset_counter6():
assert py_counter.pure_python_code(path="./test/python_test.py") == 3

0 comments on commit 4191558

Please sign in to comment.