Skip to content

Commit

Permalink
two-bucket: declare compliance with 1.4.0 by changing descriptions (#748
Browse files Browse the repository at this point in the history
)

Note that two-bucket was added to the Rust track at
#375
At the time it declared 1.0.0 compliance, but was actually compliant
with 1.2.0 already!

Further updates to 1.3.0 and 1.4.0 require no action on the Rust track's
part.

1.0.1: Fix exercise name
exercism/problem-specifications#715

Unversioned(!): Change descriptions
exercism/problem-specifications#716
(Our descriptions are no better or worse, so might as well keep them)

1.1.0: Add cases where goal equals one bucket's capacity
exercism/problem-specifications#763
Rust already had these cases, so just update the descriptions

1.2.0: Fix a test case added in 1.1.0
exercism/problem-specifications#911
exercism/problem-specifications#941
Rust already had the correct values, so no action.

1.3.0: move inputs to `input` object
exercism/problem-specifications#1084

1.4.0: rename JSON keys to camelCase
exercism/problem-specifications#1136
  • Loading branch information
petertseng authored Nov 20, 2018
1 parent 8b4f7ce commit 45597c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion exercises/two-bucket/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[package]
name = "two-bucket"
version = "1.0.0"
version = "1.4.0"
4 changes: 2 additions & 2 deletions exercises/two-bucket/tests/two-bucket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn test_case_4() {

#[test]
#[ignore]
fn test_case_5() {
fn goal_equal_to_start_bucket() {
assert_eq!(
solve(1, 3, 3, &Bucket::Two),
BucketStats {
Expand All @@ -68,7 +68,7 @@ fn test_case_5() {

#[test]
#[ignore]
fn test_case_6() {
fn goal_equal_to_other_bucket() {
assert_eq!(
solve(2, 3, 3, &Bucket::One),
BucketStats {
Expand Down

0 comments on commit 45597c8

Please sign in to comment.