Permalink
Browse files

Extenso e ExtensoTeste renomeados pois a namespace tem o mesmo nome.

  • Loading branch information...
1 parent 330e24a commit 0139a370f437c87c914916829dd312fa42599991 @soaresbest soaresbest committed Dec 14, 2011
@@ -4,7 +4,7 @@
namespace Extenso.Teste
{
[TestFixture]
- public class ExtensoTeste
+ public class NumeroExtensoTeste
{
[TestCase("0", "zero")]
[TestCase("1", "um")]
@@ -30,13 +30,13 @@ public class ExtensoTeste
[TestCase("000001", "um")]
public void retornar_por_extenso(string numero, string respostaEsperada)
{
- Assert.AreEqual(respostaEsperada, Extenso.Converter(numero));
+ Assert.AreEqual(respostaEsperada, NumeroExtenso.Converter(numero));
}
[Test]
public void disparar_argument_exception_converter_alfanumerico()
{
- Assert.Catch<ArgumentException>(() => Extenso.Converter("a"));
+ Assert.Catch<ArgumentException>(() => NumeroExtenso.Converter("a"));
}
}
}
@@ -5,7 +5,7 @@
namespace Extenso
{
- public static class Extenso
+ public static class NumeroExtenso
{
public static string Converter(string numero)
{

0 comments on commit 0139a37

Please sign in to comment.