public void CanExtendTwice( ) { EnumeratorTask a = new EnumeratorTask(SampleTask(), false); a.Extend(SampleExtension()); a.Extend(SampleExtension()); (a as ITask).Start(); Assert.AreEqual(3, i, "Looks like a continued task doesn't actually continue multiple times."); }
public void CanExtendTwice( ) { EnumeratorTask a = new EnumeratorTask(SampleTask(), false); a.Extend(SampleExtension()); a.Extend(SampleExtension()); (a as ITask).Start(); Assert.AreEqual(3, i, "Looks like a continued task doesn't actually continue multiple times."); }
public void ExtendsTask( ) { EnumeratorTask a = new EnumeratorTask(SampleTask(), false); a.Extend(SampleExtension()); (a as ITask).Start(); Assert.AreEqual(4, i, "Looks like a continued task doesn't actually continue."); }
public void ExtendsTask( ) { EnumeratorTask a = new EnumeratorTask(SampleTask(), false); a.Extend(SampleExtension()); (a as ITask).Start(); Assert.AreEqual(4, i, "Looks like a continued task doesn't actually continue."); }