示例#1
0
        public void OneArgCtorConstructsListOfOneElement()
        {
            PersistentList p = new PersistentList("abc");

            Expect(p.first(), EqualTo("abc"));
            Expect(p.next(), Null);
            Expect(p.count(), EqualTo(1));
        }
        public void OneArgCtorConstructsListOfOneElement()
        {
            PersistentList p = new PersistentList("abc");

            Expect(p.first()).To.Equal("abc");
            Expect(p.next()).To.Be.Null();
            Expect(p.count()).To.Equal(1);
        }