Ejemplo n.º 1
0
        public void UpdatePullDrivenBWithTimeExtrapolator()
        {
            const bool useTimeExtrapolator = true;
            ICollection <ITimeSpaceComponent> components = RainRrCfCompositions.CreateCompositionB(useTimeExtrapolator);

            RunPullDriven(components);
        }
Ejemplo n.º 2
0
        public void UpdatePullDrivenB()
        {
            const bool useTimeExtrapolator = false;
            ICollection <ITimeSpaceComponent> components = RainRrCfCompositions.CreateCompositionB(useTimeExtrapolator);

            try
            {
                RunPullDriven(components);
            }
            catch (Exception e)
            {
                Assert.IsTrue(e.Message.StartsWith("Could not update engine") &&
                              e.Message.EndsWith("Use a Time Extrapolator."), "Check expected exception");
            }
        }