Skip to content

Instantly share code, notes, and snippets.

@brunopedroso
Created September 7, 2009 19:19
Show Gist options
  • Save brunopedroso/182525 to your computer and use it in GitHub Desktop.
Save brunopedroso/182525 to your computer and use it in GitHub Desktop.
void TesteNaoConsideraLixoFimArray(CuTest *tc) {
int arrayJogadas[6] = {9,1,1,0,10,10};
//quantidade jogadas(qtdJogadas) menor que arrayJogadas. Nao deve somar os 10`s
int qtdJogadas = 4;
CuAssertIntEquals(tc,12,calcularResultadoInteiros(arrayJogadas,qtdJogadas));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment