A simple testing tool for python Epita THEG class.
Project description
Testing Tool THEG
This is a simple package to test your THEG code REPO.
Usage: - Check value : your_instance(exp, got) - Get Results : your_instance(0,0,True)
Example:
from testing_tool_theg import *
your_instance = checker()
your_instance(1, 1)
your_instance(1, 1)
your_instance(1, 1)
your_instance(1, 2) # Made a mistake
your_instance(1, 1)
your_instance(0, 0, True) # Give you an overview of your results
Output:
Usage:
- Check value : your_instance(exp, got)
- Get Results : your_instance(0,0,True)
Test : 01
Expected : 1
got : 1
Test : 02
Expected : 1
got : 1
Test : 03
Expected : 1
got : 1
Test : 04
Expected : 1
got : 2
Test : 05
Expected : 1
got : 1
test 01: [PASS]
test 02: [PASS]
test 03: [PASS]
test 04: [FAIL]
test 05: [PASS]
Some tests have failed
Out[5]:
[FAIL]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file testing_tool_theg-0.0.3-py2-none-any.whl.
File metadata
- Download URL: testing_tool_theg-0.0.3-py2-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b09e563189aa66b79ebddcd8f505a9f97ffffa8161df85fe2df42a790e76602e
|
|
| MD5 |
b89b8f93158044d36adf263e5cf281e7
|
|
| BLAKE2b-256 |
076a11014a82405af2932c03ed8ca45de12aa8d567886030ebf322a3f2b86068
|