Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Doctests for each method of APngAssembler using tracing fixture.
Browse files Browse the repository at this point in the history
While I personally believe that there is not much to be gained from
doctesting every tiny internal method, this lack of doctests is currently
preventing a positive review, so here they are.

I implemented doctests in the way that seemed the most reasonable to me:
show the role of each method in a realistic run of the code, using a tracing
fixture to exhibit the interaction of a given method with its caller (who
passes its arguments and may receive some return value), the object state
(via read and write access to attributes) and other methods (which are
called during the execution of a given method).
  • Loading branch information
gagern committed Jan 3, 2015
1 parent b057e61 commit f347d4c
Showing 1 changed file with 321 additions and 94 deletions.
Loading

0 comments on commit f347d4c

Please sign in to comment.