Commit Graph

2 Commits

Author SHA1 Message Date
Md Mahiuddin
e2a78d4e76 Add test for non-integer input to factorial function (#13024)
Some checks failed
directory_writer / directory_writer (push) Has been cancelled
ruff / ruff (push) Has been cancelled
sphinx / build_docs (push) Has been cancelled
sphinx / deploy_docs (push) Has been cancelled
Project Euler / project-euler (push) Has been cancelled
Project Euler / validate-solutions (push) Has been cancelled
build / build (push) Has been cancelled
* Add test for non-integer input to factorial function

* Update test_factorial.py

---------

Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>
2025-10-20 03:59:36 +03:00
Qasim Umar
7665ba5e25 Add unit tests for factorial.py (#12815)
* Add unit tests for factorial.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* uvx --python=3.12 unittest2pytest --write test_factorial.py

* Update error message in current_stock_price.py

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2025-07-05 12:58:45 +02:00