added events

This commit is contained in:
KaseToatz1337
2024-10-03 09:16:40 +02:00
parent a33cf50a4c
commit d3de812339
5 changed files with 57 additions and 31 deletions

View File

@ -30,17 +30,6 @@ namespace Buckets.Test
});
}
[TestMethod]
public void Fill_BucketOverCapacity_ShouldThrow()
{
Bucket bucket = new(10, 0);
Bucket bucket2 = new(20, 20);
Assert.ThrowsException<ArgumentOutOfRangeException>(() =>
{
bucket.Fill(bucket2);
});
}
[TestMethod]
public void Fill_SecondBucket_ShouldEqual0()
{