static void Main(string[] args) { var service = new FooService(); var result = service.Bar(); System.Console.WriteLine(result.b); }
public void Bar_returns_value_tuple_correctly() { var sut = new FooService(); var actual = sut.Bar(); Assert.AreEqual(1, actual.a); Assert.AreEqual("Hello ValueTuple", actual.b); }