Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion exercises/two-bucket/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "two-bucket",
"version": "1.0.1",
"version": "1.1.0",
"cases": [
{
"description": "Measure using bucket one of size 3 and bucket two of size 5 - start with bucket one",
Expand Down Expand Up @@ -53,6 +53,32 @@
"goal_bucket": "two",
"other_bucket": 7
}
},
{
"description": "Measure one step using bucket one of size 1 and bucket two of size 3 - start with bucket two",
"property": "measure",
"bucket_one": 1,
"bucket_two": 3,
"goal": 3,
"start_bucket": "two",
"expected": {
"moves": 1,
"goal_bucket": "two",
"other_bucket": 0
}
},
{
"description": "Measure using bucket one of size 2 and bucket two of size 3 - start with bucket one and end with bucket two",
"property": "measure",
"bucket_one": 2,
"bucket_two": 3,
"goal": 3,
"start_bucket": "one",
"expected": {
"moves": 4,
"goal_bucket": "two",
"other_bucket": 1
}
}
]
}