added events
This commit is contained in:
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user