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

@ -23,15 +23,6 @@ namespace Buckets.Test
});
}
[TestMethod]
public void Container_ContentLargerThanCapacity_ShouldThrow()
{
Assert.ThrowsException<ArgumentOutOfRangeException>(() =>
{
Bucket container = new(0, 1);
});
}
[TestMethod]
public void Container_ValidParameters_ShouldEqual10()
{
@ -39,16 +30,6 @@ namespace Buckets.Test
Assert.AreEqual(10, container.Content);
}
[TestMethod]
public void Fill_ContentLargerThanCapacity_ShouldThrow()
{
Bucket container = new(20, 10);
Assert.ThrowsException<ArgumentOutOfRangeException>(() =>
{
container.Fill(20);
});
}
[TestMethod]
public void Fill_ValidParameters_ShouldEqual15()
{