-
-
Notifications
You must be signed in to change notification settings - Fork 525
generators: convert generators to use auto extract #567
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
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
e30946e
add class_name to GeneratorCases
hilary 77cac07
programmatically generate cases
hilary 6134c48
extract CaseValues from TemplateValuesFactory
hilary 982e9b3
separate logic for proc and auto extraction
hilary 263e233
add #proc? to GeneratorCases
hilary 068d1f5
fold Extract into TemplateValuesFactory
hilary 75b81d7
Minor: Remove unnecessary whitespace changes.
Insti 9f6a9e3
Remove redundant test.
Insti 1700748
Inline the GammaCase rather than reading it from a file.
Insti 33e0881
Move case values tests into a single file.
Insti f088d24
Remove redundant Mocks.
Insti 001e608
Add test coverage for unimplmented extract method.
Insti 012ce13
Eliminte LOAD_PATH modifications.
Insti 9547152
Use fixture data we already have.
Insti d29bceb
Remove unnecessary inclusion of CaseValues
Insti 8b2ae2a
Extract complex json to fixture file.
Insti 8fb05bf
Remove unnecessary string conversions.
Insti 45511ff
Explicitly load the ProblemCases file we need.
Insti 0b47df3
remove proc support (not needed)
hilary fcec4ab
remove manual case extraction from clean generators
hilary 6e535a9
update gigasecond tests (was not generatable)
hilary 3c313de
remove instructions re ProblemNameCases from README
hilary 1add0ee
convert pangram to auto extract cases
hilary 465903b
update acronym tests
hilary ae5a4d1
fix alphametics generator
hilary 423dfc5
convert alphametics to use ExerciseCase
hilary 78d448b
update and convert anagram
hilary be4c528
convert beer-song
hilary 28c3161
revert unnecessary anagram version bump
hilary a816e0b
convert anagram workload to four line
hilary 7d6ab33
convert (and fix) two-bucket generator
hilary 3f9d7d3
convert (and fix) bowling generator
hilary 2983e26
convert bracket-push
hilary 372f0b6
convert clock
hilary 0f35d91
convert (and update) connect
hilary 6950d68
convert custom-set
hilary 70d9bce
convert difference-of-squares
hilary aee153d
convert dominoes
hilary 5c0b3d8
convert hello-world
hilary 2a1e0aa
add indentation helper for multi-line workloads
hilary 0b46dfb
convert isogram
hilary 646e72a
convert (and update) largest-series-product
hilary 4470a07
convert (and update) leap
hilary d2ae3d6
convert nth-prime
hilary 8e786c9
convert raindrops
hilary b72a89d
convert rna-transcription
hilary 1f75622
convert roman-numerals
hilary 1765e98
convert sieve
hilary 70954d8
convert transpose
hilary b6d0b08
convert word-count
hilary 0dff196
convert (and fix) binary
hilary 9fe3565
convert (and fix) say
hilary 01abfc9
convert, update and fix run-length-encoding generator
hilary 2023c78
convert wordy
hilary 195640c
fix wordy tests
hilary eb993be
convert (and fix) triangle generator
hilary 519163c
convert (and fix) grains generator
hilary a26d051
removed obsolete grains_cases tests
hilary a739e6b
convert (and fix) tournament generator
hilary ba795b3
convert all-your-base
hilary c56bd33
convert (and fix) queen attack generator
hilary File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2 | ||
3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module BookKeeping | ||
VERSION = 2 | ||
VERSION = 3 | ||
end | ||
|
||
class Acronym | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module BookKeeping | ||
VERSION=2 | ||
VERSION = 2 | ||
end | ||
|
||
class Anagram | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not sure the changes here warrant a version bump.
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.
It added a test, hence the version bump.
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.
ok, I missed that