public void EachShipIsAtLeastFiftyPercentFilled() { //Arrange BerendBootje berendBootje = new BerendBootje(); berendBootje.AddRandomContianers(3000); berendBootje.SetShipFormat(6, 12); //Act berendBootje.DistributeContainers(); //Assert foreach (Ship ship in berendBootje.shipCollection) { if (ship.PercentageOfMaxWeight < 50) { Assert.Fail(); } } }