public void IsEmptyTestStackEmpty() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor <string> target = new Stack_Accessor <string>(param0); // TODO: Initialize to an appropriate value bool expected = true; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }
public void IsEmptyTestStackHasItem() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor <string> target = new Stack_Accessor <string>(param0); // TODO: Initialize to an appropriate value string item = "Hello"; // TODO: Initialize to an appropriate value target.Push(item); bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }
public void IsEmptyTestAfterFillingStackThenPoppingStack() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor <string> target = new Stack_Accessor <string>(param0); // TODO: Initialize to an appropriate value string item = "Hello"; // TODO: Initialize to an appropriate value target.Push(item); target.Push(item); target.Push(item); target.Push(item); target.Push(item); item = target.Pop(); item = target.Pop(); item = target.Pop(); item = target.Pop(); item = target.Pop(); bool expected = true; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }
public void IsEmptyTestAfterFillingStackThenPoppingStack() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor<string> target = new Stack_Accessor<string>(param0); // TODO: Initialize to an appropriate value string item = "Hello"; // TODO: Initialize to an appropriate value target.Push(item); target.Push(item); target.Push(item); target.Push(item); target.Push(item); item = target.Pop(); item = target.Pop(); item = target.Pop(); item = target.Pop(); item = target.Pop(); bool expected = true; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }
public void IsEmptyTestStackHasItem() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor<string> target = new Stack_Accessor<string>(param0); // TODO: Initialize to an appropriate value string item = "Hello"; // TODO: Initialize to an appropriate value target.Push(item); bool expected = false; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }
public void IsEmptyTestStackEmpty() { int param0 = 5; // TODO: Initialize to an appropriate value Stack_Accessor<string> target = new Stack_Accessor<string>(param0); // TODO: Initialize to an appropriate value bool expected = true; // TODO: Initialize to an appropriate value bool actual; actual = target.IsEmpty(); Assert.AreEqual(expected, actual); }