public void SosMayor_Return_false() { OYears sut = new OYears(5); OYears nYear = new OYears(8); bool isTrue = sut.sosMayor(nYear); isTrue.Should().BeFalse(); }
public void SosMayor_Return_true() { OYears sut = new OYears(9); OYears nYear = new OYears(3); bool isTrue = sut.sosMayor(nYear); isTrue.Should().BeTrue(); }
public void SosIgual_Return_true() { OYears sut = new OYears(2); OYears nYear = new OYears(2); bool isTrue = sut.sosIgual(nYear); isTrue.Should().BeTrue(); }
public void SosIgual_Return_false() { OYears sut = new OYears(0); OYears nYear = new OYears(1); bool isTrue = sut.sosIgual(nYear); isTrue.Should().BeFalse(); }
public void SosMenor_Return_true(int yearSUT, int yearOther) { OYears sut = new OYears(yearSUT); OYears nYear = new OYears(yearOther); bool isTrue = sut.sosMenor(nYear); isTrue.Should().BeTrue(); }