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 07d85ed commit 4cab658
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
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 @@ -7,20 +7,20 @@

from module.ashcount import counter , py_counter

# def tset_counter1():
# assert counter.line_counter(path="./test/t_t.txt") == 4
def tset_counter1():
assert counter.line_counter(path="./Testing_Files/Temp.txt") == 4

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

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

def tset_py_counter4():
assert py_counter.python_line_count(path="./test/p_t.py") == 8
assert py_counter.python_line_count(path="./Testing_Files/Temp.py") == 8

def tset_py_counter4():
assert py_counter.python_comment_count(path="./test/p_t.py") == 2
assert py_counter.python_comment_count(path="./Testing_Files/Temp.py") == 2

def tset_py_counter4():
assert py_counter.pure_python_code(path="./test/p_t.py") == 3
assert py_counter.pure_python_code(path="./Testing_Files/Temp.py") == 3

0 comments on commit 4cab658

Please sign in to comment.