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 3c6c8ef commit bc18871
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Binary file removed src/module/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Binary file removed src/module/__pycache__/ashcount.cpython-38.pyc
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
12 changes: 6 additions & 6 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="./test/t_t.txt") == 4
assert counter.line_counter(path="./src/t_t.txt") == 4

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

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

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

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

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

0 comments on commit bc18871

Please sign in to comment.