This commit is contained in:
David Lawler 2022-03-08 14:45:17 +10:00
parent 07b36db75c
commit c45f7968ce
6 changed files with 16 additions and 2 deletions

View file

@ -1,5 +1,10 @@
{ {
"python.linting.pylintEnabled": false, "python.linting.pylintEnabled": false,
"python.linting.enabled": true, "python.linting.enabled": true,
"python.linting.mypyEnabled": true "python.linting.mypyEnabled": true,
"python.testing.pytestArgs": [
"."
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true
} }

Binary file not shown.

Binary file not shown.

View file

@ -3,3 +3,5 @@ today
today today
weather weather
test test
/usr/local/bin/python3 "/Volumes/GoogleDrive-100976413726208790908/My Drive/UNI/INFS 2048 - System Design and Realisation/Assessment 2B/main.py"
weather

7
test_questionbot.py Normal file
View file

@ -0,0 +1,7 @@
from main import jaccard_similarity, most_likely
def test_CanInstantiatejaccard_similarity():
co = jaccard_similarity(userQuestion="whats the weather like",questionBank="Sunny")
def test_most_likely():
co = most_likely(userQuestion="Weather")