New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check documentation against test scripts #8

Open
wants to merge 7 commits into
base: master
from

Conversation

Projects
None yet
1 participant
@pauloscustodio
Contributor

pauloscustodio commented Jun 10, 2015

Checked all function/method calls in the documentation and added test cases for the missing ones.

pauloscustodio added some commits Jun 10, 2015

Add tests for print_subset_chart()
The tests for print_subset_char() only checked for the correct header.
Replaced by tests to verify whole function output.
Add tests for print_equivalence_chart()
The tests for print_equivalence_chart() only checked for the correct header.
Replaced by tests to verify whole function output.
Test the actual return of get_version()
The tests for get_version() were only checking for a true return value.
Modify to test the return against the expected $List::Compare::VERSION
Add tests for print_subset_chart() functional interface
The tests for print_subset_char() only checked for the correct header.
Replaced by tests to verify whole function output.
Add tests for print_equivalence_chart() functional interface
The tests for print_equivalence_chart() only checked for the correct header.
Replaced by tests to verify whole function output.
Add tests for fumctional interface with --unsorted
Not all functional interface functions were tested with both -u and --unsorted.
Added tests for both -u and --unsorted options.
Fix indentation
Left "wrong" indentation in the previuous commit to better show the differences added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment