public void Cinco_Entonces_Retorna_V() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "V"; //ACT string actual = sut.Convert(5); //ASSERT Assert.AreEqual(expected, actual); }
public void Siete_Entonces_Retorna_VII() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "VII"; //ACT string actual = sut.Convert(7); //ASSERT Assert.AreEqual(expected, actual); }
public void Mil_Ciento_Setenta_y_ocho_Entonces_Retorna_MCLXXVIII() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "MCLXXVIII"; //ACT string actual = sut.Convert(1178); //ASSERT Assert.AreEqual(expected, actual); }
public void Trescientos_venticuatro_Entonces_Retorna_CCCXXIV() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "CCCXXIV"; //ACT string actual = sut.Convert(324); //ASSERT Assert.AreEqual(expected, actual); }
public void Veinte_Entonces_Retorna_XX() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "XX"; //ACT string actual = sut.Convert(20); //ASSERT Assert.AreEqual(expected, actual); }
public void Diecinueve_Entonces_Retorna_XIV() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "XIX"; //ACT string actual = sut.Convert(19); //ASSERT Assert.AreEqual(expected, actual); }
public void Dieciocho_Entonces_Retorna_XVIII() { //ARRANGE Num2Rom sut = new Num2Rom(); string expected = "XVIII"; //ACT string actual = sut.Convert(18); //ASSERT Assert.AreEqual(expected, actual); }