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

Develop #3

Merged
merged 4 commits into from
Sep 10, 2024
Merged

Develop #3

merged 4 commits into from
Sep 10, 2024

Conversation

sir-gon
Copy link
Owner

@sir-gon sir-gon commented Sep 10, 2024

No description provided.

Gonzalo Diaz added 4 commits September 10, 2024 16:25
…e solved.

->

src/lib/exercises/src/hackerrank/warmup/simple_array_sum.cpp:20:41: performance: Function parameter 'ar' should be passed by const reference. [passedByValue]
    int simpleArraySum(std::vector<int> ar) {
…e solved.

->
src/lib/exercises/src/hackerrank/warmup/simple_array_sum.cpp:24:19: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm]
            accum += i;
                  ^
->

src/tests/unit/lib/foo.test.cpp:5:0: style: The function 'TEST_CASE' is never used. [unusedFunction]
TEST_CASE("adding numbers work", "[foo]")
^
Copy link

sonarcloud bot commented Sep 10, 2024

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (de7d288) to head (e9ed754).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines            7         5    -2     
  Branches         1         0    -1     
=========================================
- Hits             7         5    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sir-gon sir-gon merged commit 89d37db into main Sep 10, 2024
20 checks passed
sir-gon pushed a commit that referenced this pull request Sep 23, 2024
sir-gon added a commit that referenced this pull request Sep 24, 2024
[Hacker Rank]: Project Euler #3: Largest prime factor. Solved ✓
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.

2 participants