示例#1
0
        public void read_all_events_backwards_returns_nothing_when_prepare_position_is_smaller_than_first_prepare_in_commit()
        {
            var records = ReadIndex.ReadAllEventsBackward(new TFPos(_t2CommitPos, 0), 10, false).Records;

            Assert.AreEqual(0, records.Count);
        }
示例#2
0
        public void read_all_events_backward_returns_no_events()
        {
            var result = ReadIndex.ReadAllEventsBackward(GetBackwardReadPos(), 10);

            Assert.AreEqual(0, result.Records.Count);
        }