Skip to content
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

ADD] - Added coverage checks for the method doDecode. #1261

Closed
wants to merge 25 commits into from

Conversation

Jacky-Leung0
Copy link

Added coverage checks and updated TestSuite.
close #34

felixmagnell and others added 25 commits February 12, 2020 17:11
The following methods was added:

* initCoverageMatrix - should initialize a matrix with false values for every branch in a given method.

* checkCoverage - should count the ratio between not visited and total number visited of branches.

* setCoverageMatrix - should set a index in the matrix to true for a specific method and branch.
[ADD] - Added a new class CoverageTool2000 for coverage checking.
The method checkCoverage now checks all the visited branches and returns the ratio between the visited branches and the total number of branches.
Added coverage and a function so that all tests are printed when tests
are run in the CoverageBranch. close #11
…issue #14 (#16)

Added so that checkAllCoverage displays to decimals as explained in
issue 14. close #14
[ADD] Implemented coverage test of method correctBits
[ADD] Implemented cover check of guessEncoding
[ADD] Implemented coverage test for decode close
…d/issue29

[ADD] - Added coverage checks for the method decodeExtended
Fixed the print issue in TestSuite and in CoverageTool. Also refactord
some code to reflect these changes, removed code that was redundant.
close #31
* [ADD] Added test of coverage in calculateBlackPoints method close #20

* [FIX] Added test class to test array close #20

Co-authored-by: Tonyr <47386928+tony-ronnqvist@users.noreply.github.com>
Fixed the spelling to be corret in method 4. Now correctly says
CoverageTool2000. close #36
Added coverage checks and updated TestSuite.
close #34
@Jacky-Leung0 Jacky-Leung0 deleted the issue34 branch February 14, 2020 12:36
@Jacky-Leung0 Jacky-Leung0 restored the issue34 branch February 14, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ITF wide bar width, bar wide to narrow ratio
5 participants