diff --git a/csharp/Platform.Numbers.Tests/CalcResultTests.cs b/csharp/Platform.Numbers.Tests/CalcResultTests.cs new file mode 100644 index 0000000..f120c40 --- /dev/null +++ b/csharp/Platform.Numbers.Tests/CalcResultTests.cs @@ -0,0 +1,18 @@ +using Xunit; + +namespace Platform.Numbers.Tests +{ + public static class CalcResultTests + { + [Fact] + public static void UsingOperatorsTests() + { + //act + var result = ((CalcResult)5 + 6) * (3 + 9 / 3); + + //assert + int expected = (5 + 6) * (3 + 9 / 3); + Assert.Equal(expected, result.Value); + } + } +}