public void register_should_be_after_explicit() { var s1 = new Script("1"); var s2 = new Script("2"); s1.OrderedAfter(s2); s1.ShouldBeAfter(s2).ShouldBeTrue(); s2.ShouldBeAfter(s1).ShouldBeFalse(); }
public void extender_scenario() { var s1 = new Script("1"); var s2 = new Script("2"); s2.AddDependency(s1); s1.OrderedBefore(s2); s2.OrderedAfter(s1); s2.ShouldBeAfter(s1).ShouldBeTrue(); s1.ShouldBeAfter(s2).ShouldBeFalse(); }