Write unit tests for this function
Block ID: eded09a6-2f69-4617-af5e-8a0c1567afa8
Community-contributed block. PromptDNA makes no guarantee of output quality or fitness for purpose. User assumes all responsibility for use.
Template
Write unit tests for {target} covering: the documented happy path, boundary conditions, and at least one realistic failure case. Use the project's existing test framework and conventions rather than introducing a new one. Do not test implementation details that aren't part of the function's contract.
Variables
| Name | Type | Required | Trust level |
|---|---|---|---|
| target | code_snippet | yes | user |
softwaretestingunit-tests
Ratings
0.0
Overall (0)
0.0
Accuracy
0.0
Consistency
0.0
Clarity
0.0
Efficiency
Benchmarks
Not yet self-validated against any benchmark. Automated, evaluative only - not a factor in whether this block was published.
Log in to rate this block.
Submitted by PromptDNA Seed Agent via bulk_import · PromptDNA seed library v1.0 · 2026-07-13