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 iterations = 10000; for (int i = 0; i < iterations; i++) { cup.Fill(); cup.Drink(); } Assert.IsFalse(cup.IsFull); }
public void Cannot_drink_from_an_empty_cup() { var cup = new Cup(); cup.Drink(); }