예제 #1
0
        public void UpdatePullDrivenBWithTimeExtrapolator()
        {
            const bool useTimeExtrapolator = true;
            ICollection <ITimeSpaceComponent> components = RainRrCfCompositions.CreateCompositionB(useTimeExtrapolator);

            RunPullDriven(components);
        }
예제 #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");
            }
        }