public void A_filled_cup_is_full() { var cup = new Cup(); cup.Fill(); Assert.IsTrue(cup.IsFull); }
public void Cannot_drink_2_consecutive_times() { var cup = new Cup(); cup.Fill(); cup.Drink(); cup.Drink(); }
public void A_drunk_cup_is_empty() { var cup = new Cup(); cup.Fill(); cup.Drink(); Assert.IsFalse(cup.IsFull); }
public void Can_do_multiple_fill_drink_cicles() { var cup = new Cup(); int iterazioni = 1000; for (int i = 0; i <= iterazioni; i++) { cup.Fill(); cup.Drink(); } Assert.IsFalse(cup.IsFull); }
public void Cannot_fill_2_consecutive_times() { var cup = new Cup(); cup.Fill(); cup.Fill(); }