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

Use mockneat library for generating random values #51

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

valery1707
Copy link
Owner

No description provided.

@codecov
Copy link

codecov bot commented Nov 1, 2022

Codecov Report

Base: 96.43% // Head: 96.60% // Increases project coverage by +0.16% 🎉

Coverage data is based on head (3f17c1c) compared to base (cade024).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
+ Coverage   96.43%   96.60%   +0.16%     
==========================================
  Files          47       48       +1     
  Lines         730      765      +35     
  Branches      162      174      +12     
==========================================
+ Hits          704      739      +35     
  Misses         11       11              
  Partials       15       15              
Impacted Files Coverage Δ
...in/java/name/valery1707/problem/ParseJsonList.java 100.00% <100.00%> (ø)
...ery1707/problem/leet/code/SubarraySumEqualsKJ.java 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 1, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

.map(DemoDto::new)
.collect(toList());
List<DemoDto> list = filler(DemoDto::new)
.setter(DemoDto::setCode, ints().bound(count * 1000).map(String::valueOf))
Copy link
Owner Author

Choose a reason for hiding this comment

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

The value of code will be used as the key for the map and it should be distinct

@valery1707 valery1707 marked this pull request as draft November 3, 2022 07:22
@valery1707
Copy link
Owner Author

Wait for new mockneat release with nomemory/mockneat#117

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