Skip to content

Commit

Permalink
final fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkan0201 committed Oct 4, 2023
1 parent f6e184e commit 9e5f3a3
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
Binary file removed src/module/__pycache__/__init__.cpython-311.pyc
Binary file not shown.
Binary file removed src/module/__pycache__/ashcount.cpython-311.pyc
Binary file not shown.
26 changes: 26 additions & 0 deletions test/test_somthing.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import os
import sys

path = os.path.join(os.getcwd(), "src")

sys.path.append(path)

from module.ashcount import counter , py_counter

def test_counter1():
assert counter.line_counter("./Testing_Files/Temp.txt") == 4

def test_counter2():
assert counter.counting_main_lines(path="./Testing_Files/Temp.txt") == 2

def test_counter3():
assert counter.word_count(path="./Testing_Files/Temp.txt") == 11

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

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

def test_py_counter4():
assert py_counter.pure_python_code(path="./Testing_Files/Temp.py") == 3
Binary file not shown.
26 changes: 0 additions & 26 deletions tests/test_somthing.py

This file was deleted.

0 comments on commit 9e5f3a3

Please sign in to comment.