public void UpdatePullDrivenBWithTimeExtrapolator() { const bool useTimeExtrapolator = true; ICollection <ITimeSpaceComponent> components = RainRrCfCompositions.CreateCompositionB(useTimeExtrapolator); RunPullDriven(components); }
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"); } }