diff --git a/exercises/practice/two-bucket/.meta/tests.toml b/exercises/practice/two-bucket/.meta/tests.toml index d6ff02f53..a3fe533ec 100644 --- a/exercises/practice/two-bucket/.meta/tests.toml +++ b/exercises/practice/two-bucket/.meta/tests.toml @@ -27,6 +27,12 @@ description = "Measure one step using bucket one of size 1 and bucket two of siz [eb329c63-5540-4735-b30b-97f7f4df0f84] description = "Measure using bucket one of size 2 and bucket two of size 3 - start with bucket one and end with bucket two" +[58d70152-bf2b-46bb-ad54-be58ebe94c03] +description = "Measure using bucket one much bigger than bucket two" + +[9dbe6499-caa5-4a58-b5ce-c988d71b8981] +description = "Measure using bucket one much smaller than bucket two" + [449be72d-b10a-4f4b-a959-ca741e333b72] description = "Not possible to reach the goal" diff --git a/exercises/practice/two-bucket/TwoBucketTests.cs b/exercises/practice/two-bucket/TwoBucketTests.cs index 40b83b3bb..33139c939 100644 --- a/exercises/practice/two-bucket/TwoBucketTests.cs +++ b/exercises/practice/two-bucket/TwoBucketTests.cs @@ -60,6 +60,26 @@ public void Measure_using_bucket_one_of_size_2_and_bucket_two_of_size_3_start_wi Assert.Equal(Bucket.Two, actual.GoalBucket); } + [Fact(Skip = "Remove this Skip property to run this test")] + public void Measure_using_bucket_one_much_bigger_than_bucket_two() + { + var sut = new TwoBucket(5, 1, Bucket.One); + var actual = sut.Measure(2); + Assert.Equal(6, actual.Moves); + Assert.Equal(1, actual.OtherBucket); + Assert.Equal(Bucket.One, actual.GoalBucket); + } + + [Fact(Skip = "Remove this Skip property to run this test")] + public void Measure_using_bucket_one_much_smaller_than_bucket_two() + { + var sut = new TwoBucket(3, 15, Bucket.One); + var actual = sut.Measure(9); + Assert.Equal(6, actual.Moves); + Assert.Equal(0, actual.OtherBucket); + Assert.Equal(Bucket.Two, actual.GoalBucket); + } + [Fact(Skip = "Remove this Skip property to run this test")] public void Not_possible_to_reach_the_goal() {