Exemplo n.º 1
0
 private static IEnumerable <MappedInterval <T> > CollectFrom <T>(IMappedIntervalsCollection <T> collection, long from)
 {
     using (var e = collection.GetEnumerator(from))
     {
         while (e.MoveNext())
         {
             yield return(e.Current);
         }
     }
 }
Exemplo n.º 2
0
 public void IterationSetup()
 {
     Collection = Description.Create<TPayload>();
     AfterCollectionCreation();
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     _sut = _factory.Create <Crate>();
 }
 public void SetUp()
 {
     _sut = _factory();
 }