Example #1
0
 public void Action(
     Tuple<int, int> instance)
 {
     int? item = null;
     instance.Let((a, b) => { item = a; });
     Assert.Equal(instance.Item1, item);
 }
Example #2
0
 public void Second_variable(
     Tuple<int, int> instance)
 {
     Assert.Equal(instance.Item2, instance.Let((a, b) => b));
 }
Example #3
0
 public void First_variable(
     Tuple<int, int> instance)
 {
     Assert.Equal(instance.Item1, instance.Let((a, b) => a));
 }