public void should_detect_when_a_and_b_are_equal(int a, int b, bool expected) { var ab = Arialdo.ToBoolean(a); var bb = Arialdo.ToBoolean(b); var actual = _sut.AreEqual(ab, bb); actual.Should().Be(expected); }
public void should_detect_when_a_is_bigger(int a, int b, bool expected) { var ab = Arialdo.ToBoolean(a); var bb = Arialdo.ToBoolean(b); var actual = _sut.IsBigger(ab, bb); actual.Should().Be(expected); }
public void should_convert_bit_to_boolean(int value, bool expected) { var actual = Arialdo.ToBoolean(value); actual.Should().Be(expected); }