testing
This commit is contained in:
parent
07b36db75c
commit
c45f7968ce
6 changed files with 16 additions and 2 deletions
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"python.linting.pylintEnabled": false,
|
||||
"python.linting.enabled": true,
|
||||
"python.linting.mypyEnabled": true
|
||||
"python.linting.mypyEnabled": true,
|
||||
"python.testing.pytestArgs": [
|
||||
"."
|
||||
],
|
||||
"python.testing.unittestEnabled": false,
|
||||
"python.testing.pytestEnabled": true
|
||||
}
|
||||
BIN
__pycache__/main.cpython-39.pyc
Normal file
BIN
__pycache__/main.cpython-39.pyc
Normal file
Binary file not shown.
BIN
__pycache__/test_questionbot.cpython-39-pytest-7.0.1.pyc
Normal file
BIN
__pycache__/test_questionbot.cpython-39-pytest-7.0.1.pyc
Normal file
Binary file not shown.
BIN
__pycache__/test_unittest.cpython-39-pytest-7.0.1.pyc
Normal file
BIN
__pycache__/test_unittest.cpython-39-pytest-7.0.1.pyc
Normal file
Binary file not shown.
|
|
@ -3,3 +3,5 @@ today
|
|||
today
|
||||
weather
|
||||
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
7
test_questionbot.py
Normal 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")
|
||||
Loading…
Reference in a new issue