Beispiel #1
0
 public void TestStrategies()
 {
     Assert.AreEqual(1, Future.Now(1).Run());
     Assert.AreEqual(1, Future.Lazy(new Lazy <int>(() => 1), Strategies.Task).Run());
     Assert.AreEqual(1, Future.Lazy(new Lazy <int>(() => 1), Strategies.Id).Run());
 }