Skip to main content

This is a simple package used to run Edabit tests.

Project description

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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edatest-0.0.4.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edatest-0.0.4-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file edatest-0.0.4.tar.gz.

File metadata

  • Download URL: edatest-0.0.4.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for edatest-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b0b938984b03c3fd01b8de98b3aeb630fabb1439cc14c38458c10cc430a07f4f
MD5 973f50a4c1eea82ee1d38947a2809ae8
BLAKE2b-256 280bf32d6785a28a943346c664a609446357260358902f0b8a72f913f6c02382

See more details on using hashes here.

File details

Details for the file edatest-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: edatest-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for edatest-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c5e2457169bb841801ad392695654a18b3ab1e84a0829d365ac661fa89ce140
MD5 4e5e79b62578c36b5c2e0398460baf0a
BLAKE2b-256 26a0c82630f02ec488093877fee5592e2947c169eaac1fecdc369525d7acbaa3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page