Skip to content

Conversation

@haseth
Copy link

@haseth haseth commented Mar 10, 2020

This PR changes random_math.go and random_math_test.go files.

  1. random(min, max int) float64 did not return value between the range.
  2. Added test cases to random function to verify.
    Updated code and added test cases.

haseth added 5 commits March 9, 2020 19:08
… of repeating chars

- Verification of empty sourcechars and 0 length random text.
- Implement logic to generate randomText in better way
1. Updated randIntRange Issue so that it doesn't panic for negative numbers
2. Updated test cases for generating randomcolor and random id
Copy link
Collaborator

@slayercat slayercat left a comment

Choose a reason for hiding this comment

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

LGTM

@haseth
Copy link
Author

haseth commented Mar 13, 2020

Good to go inside?

@slayercat
Copy link
Collaborator

hi, @mojocn @JJJJJJJerk

Would you mind to take this PR a review? I think it's ready.

@slayercat slayercat merged commit 6d51f65 into mojocn:master Mar 16, 2020
@haseth haseth deleted the updateRandomFile branch March 16, 2020 04:07
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