-
Notifications
You must be signed in to change notification settings - Fork 164
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
Implement Lab3 Letter frequency #515
Conversation
Codecov Report
@@ Coverage Diff @@
## master #515 +/- ##
=====================================
Coverage 100% 100%
=====================================
Files 115 116 +1
Lines 2024 2038 +14
=====================================
+ Hits 2024 2038 +14
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider using short variable names - e.g. characterFreq could be cFreq or even cf. http://doc.cat-v.org/bell_labs/pikestyle and https://www.reddit.com/r/golang/comments/8wxwgv/why_does_go_encourage_short_variable_names/
Consider having a seperate test for letters and renaming TestLetterFrequency to TestSortLetterFrequency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pretty close to perfect, just a couple of minor comments that I think are worth addressing. Ping me when you've pushed the changes and I'll approve.
9b0eeac
to
ed63008
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small change from the previous review that was missed, and you're good to go.
7bb4500
to
2f73efa
Compare
Just notice that you have not added in your PR comments:
But otherwise LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #516
Review of colleague's PR #
Changes proposed in this PR: