public void Instantiate_CountLoopDateTime_LoopSequenceResolver() { var args = new CountLoopSequenceResolverArgs <DateTime, IDuration>(3, new DateTime(2018, 3, 1), new FixedDuration(new TimeSpan(1, 0, 0, 0))); var factory = new SequenceResolverFactory(null); var resolver = factory.Instantiate <DateTime>(args); Assert.That(resolver, Is.TypeOf <LoopSequenceResolver <DateTime> >()); }
public void Instantiate_CountLoopDecimal_LoopSequenceResolver() { var args = new CountLoopSequenceResolverArgs <decimal, decimal>(5, 10, 2); var factory = new SequenceResolverFactory(null); var resolver = factory.Instantiate <decimal>(args); Assert.That(resolver, Is.TypeOf <LoopSequenceResolver <decimal> >()); }