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

feat(string generation): Adding FuzzerStrings to generate adjective b… #1

Merged
merged 2 commits into from
Dec 3, 2020

Conversation

PierrickBlons
Copy link
Contributor

…ased on feeling.

This first step is to generate adjectives. The idea would be able to generate complete sentence for random description.

@tpierrain
Copy link
Owner

Thank you very much for your contribution. Next time, could you please add documentation to every public types and members? (I'll do it for you this time).

FYI, I extracted a new IProvideCorePrimitivesToFuzzer interface to IFuzz so that types aggregated by a Fuzzer instance can receive a reference to this tiny interface in their constructor => to avoid every one of them to reimplement methods such as HeadOrTails() etc.

@@ -60,6 +60,8 @@ public Fuzzer(int? seed = null, string name = null)

_internalRandom = new Random(seed.Value);

_fuzzStrings = new FuzzerStrings(_internalRandom);
Copy link
Owner

Choose a reason for hiding this comment

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

FYI I will instead provide a reference to this as a IProvideCorePrimitivesToFuzzer to the FuzzerStrings (BTW, I would like to rename it StringFuzzer if you don't mind)


namespace Diverse
{
public static class Adjectives
Copy link
Owner

Choose a reason for hiding this comment

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

I will add a public comment for this type here.

@tpierrain tpierrain merged commit bfc05f7 into tpierrain:main Dec 3, 2020
tpierrain pushed a commit that referenced this pull request Dec 3, 2020
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