Skip to content

Commit

Permalink
issue #2: Added TESTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-kabir committed Mar 5, 2024
1 parent a2d4af7 commit d2dfcb0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Testing

Run:

```cmd
python -m unittest discover -s tests
```
2 changes: 0 additions & 2 deletions finesse/accuracy_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ def calculate_accuracy(responses_url: list[str], expected_url: str) -> AccuracyR
position: int = 0
total_pages: int = len(responses_url)
score: float = 0.0
print("URL", expected_url)
print("Number",int(re.findall(r'/(\d+)/', expected_url)[0]))
expected_number = int(re.findall(r'/(\d+)/', expected_url)[0])

for idx, response_url in enumerate(responses_url):
Expand Down

0 comments on commit d2dfcb0

Please sign in to comment.