Ejemplo n.º 1
0
 public void DoublePopOnSingletonListYieldsException()
 {
     PersistentList p = new PersistentList("abc");
     IPersistentStack s = p.pop().pop();
 }
Ejemplo n.º 2
0
 public void PopOnSingletonListYieldsEmptyList()
 {
     PersistentList p = new PersistentList("abc");
     IPersistentStack s = p.pop();
     Expect(s.count(), EqualTo(0));
 }