Skip to content

Instantly share code, notes, and snippets.

@sebmaldo
Created September 25, 2013 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebmaldo/6694154 to your computer and use it in GitHub Desktop.
Save sebmaldo/6694154 to your computer and use it in GitHub Desktop.
Clase matemática estática para ejemplo de test unitario sobre método privado estático
public static class Matematica
{
private static int SumaNumeros(int x, int y)
{
int acumulador = 0;
for (int i = x; i <= y; i++)
{
acumulador += i;
}
return acumulador;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment