Skip to main content

Edatest

This is a simple package used to run Edabit tests.

How to use

Import the package to your document

from edatest import Edatest
Test = Edatest()

Write your code

def has_friday_13(month, year):
	return "answer here"

Insert tests available in the tests tab in the Edabit challenge

Test.assert_equals(has_friday_13(3, 2020), True)
Test.assert_equals(has_friday_13(10, 2017), True)
Test.assert_equals(has_friday_13(1, 1985), False)
Test.assert_equals(has_friday_13(5, 1619), False)
Test.assert_equals(has_friday_13(6, 1614), True)

Run your python script to test your code

$ python edabit.py 
❌ FAILED: "answer here" should equal "True"
❌ FAILED: "answer here" should equal "True"
❌ FAILED: "answer here" should equal "False"
❌ FAILED: "answer here" should equal "False"
❌ FAILED: "answer here" should equal "True"

Release files for edatest 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for edatest 0.0.4
File Size Uploaded
edatest-0.0.4.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edatest 0.0.4
File Interpreter ABI Platform
edatest-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 4.9 kB

Release files / edatest-0.0.4.tar.gz

Download URL edatest-0.0.4.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b0b938984b03c3fd01b8de98b3aeb630fabb1439cc14c38458c10cc430a07f4f
BLAKE2b-256 checksum
How to use checksums
280bf32d6785a28a943346c664a609446357260358902f0b8a72f913f6c02382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / edatest-0.0.4-py3-none-any.whl

Download URL edatest-0.0.4-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c5e2457169bb841801ad392695654a18b3ab1e84a0829d365ac661fa89ce140
BLAKE2b-256 checksum
How to use checksums
26a0c82630f02ec488093877fee5592e2947c169eaac1fecdc369525d7acbaa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page