Skip to content

add unit tests for to_respilens()#54

Merged
CyGei merged 2 commits intomainfrom
torespilens-unit-tests
Mar 20, 2026
Merged

add unit tests for to_respilens()#54
CyGei merged 2 commits intomainfrom
torespilens-unit-tests

Conversation

@emprzy
Copy link
Copy Markdown
Contributor

@emprzy emprzy commented Mar 18, 2026

3 unit tests that check:

  1. that to_respilens() will fail if the parameter is not an acciddacast type
  2. that to_respilens() will fail if there is >1 location in either of the acciddacast objects
  3. that the output is the correct hierarchical structure (nesting check)

Also I fixed the misspelling of "accida" issue in this PR (issue #53)

@CyGei let me know if you want me to add more tests or take some away.

@emprzy emprzy requested a review from CyGei March 18, 2026 16:01
replace them with "accidda" (correct spelling)
@CyGei CyGei merged commit f1f2a99 into main Mar 20, 2026
1 check passed
@emprzy emprzy mentioned this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants