public void Comparison_GivenTwoEqualInt32_WhenComparing_TheSemanticComparison_ShouldBeZero() { var first = new TrivialInt32SemanticType(1); var second = new TrivialInt32SemanticType(1); first.Should().Be(second); }
public void GivenOneInt32SemanticType_WhenCheckingForBeingLower_ThenTheExpression_ShouldBeInvocable() { var first = new TrivialInt32SemanticType(1); var second = new TrivialInt32SemanticType(2); var comparison = first < second; comparison.Should().BeTrue(); }
public void GivenOneInt32SemanticType_WhenInvokingToString_ThenTheToStringMethodOfTheActualValue_ShouldBeInvoked() { var cut = new TrivialInt32SemanticType(1337); cut.ToString().Should().Be("1337"); }