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

Improve test coverage #10

Merged
merged 6 commits into from
Jun 26, 2021
Merged

Improve test coverage #10

merged 6 commits into from
Jun 26, 2021

Conversation

hassansalehe
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Jun 26, 2021

Codecov Report

Merging #10 (4016f8d) into master (8d8c8ae) will decrease coverage by 22.72%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##            master      #10       +/-   ##
============================================
- Coverage   100.00%   77.27%   -22.73%     
============================================
  Files            4        5        +1     
  Lines           59      132       +73     
============================================
+ Hits            59      102       +43     
- Misses           0       30       +30     
Impacted Files Coverage Δ
src/common/instruction.h 58.90% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8d8c8ae...4016f8d. Read the comment docs.

#include "common/instruction.h"

// TEST(TestInstruction, TestConversion) {
// }
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented out code. It does not add any value.

// TEST(TestInstruction, TestConversion) {
// }

TEST(TestInstruction, TestTrimHelperFunction) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think about improving test names. Why does each test start with Test?

@hassansalehe hassansalehe merged commit e0aa7ff into master Jun 26, 2021
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.

1 participant