TestDrivenCode.com
Contact
Privacy Policy
Terms of Service
Signup
Login
How To
Submit your test cases below to let others solve your problems for you!
Post Tests - Get Solutions
Title
Test Code
assert add(1, 2) == 3 assert add(-1, 1) == 0 assert add(0, 0) == 0
Function Signature
Must start with "
def functionname
"
Optional Details
Description
Describe the problem in more detail.
Secret Test Cases
This code will not be shown to other users. Use hidden test cases to prevent hardcoding of solutions.
Hide Solutions Until
Do not hide (default)
One day
One week
One month
One year
Forever
Custom date
Hidden solutions are useful for competitions or when you want varied solutions. Solutions will be hidden from other users until this date. (UTC timezone, currently: 2026-03-25 14:02:13).
Terms of Service
and
Privacy Policy
Submit problem
and accept Terms of Service and Privacy Policy