public void Meta_ctor_has_meta() { MockRepository mocks = new MockRepository(); IPersistentMap meta = mocks.StrictMock<IPersistentMap>(); mocks.ReplayAll(); Range r = new Range(meta, 2, 5); Expect(r.meta(), EqualTo(meta)); mocks.VerifyAll(); }
public void Basic_ctor_has_no_meta() { Range r = new Range(2, 5); Expect(r.meta(), Null); }
public void Meta_ctor_has_meta() { IPersistentMap meta = new DummyMeta(); Range r = new Range(meta, 2, 5); Expect(r.meta(), EqualTo(meta)); }