This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for(i = 0;i < tamanho;i++){ | |
| if(i+1 < tamanho && (arrayJogadas[i] + arrayJogadas[i + 1] == 10)){ | |
| if (i+2 >= tamanho) { | |
| return -1; | |
| } else { | |
| resultado += arrayJogadas[i] + arrayJogadas[i + 1] + arrayJogadas[i + 2]; | |
| i++; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| int calcularResultado(char *linha) { | |
| int i, j; | |
| int resultado = 0; | |
| int arrayJogadas[21]; | |
| j = getJogadas(linha,arrayJogadas); | |
| for (i = 0; i < j; i++) { | |
| resultado += arrayJogadas[i]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void testListarPessoas() throws Exception { | |
| //PREPARACAO DO TESTE | |
| //Considerar as 4 pessoas cadastradas para apresentação na listagem. | |
| //Logar no sistema com o usuário Administrador. | |
| doLogin(); | |
| //TESTE E VERIFICACAO | |
| //Verificar se a opcao "Pessoas" está presente no menu lateral. | |
| menuAdmin.verificarTextos(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void testListarPessoas() throws Exception { | |
| //PREPARACAO DO TESTE | |
| //Considerar as 4 pessoas cadastradas para apresentação na listagem. | |
| //Logar no sistema com o usuário Administrador. | |
| doLogin(); | |
| //TESTE E VERIFICACAO | |
| //Verificar se a opcao "Pessoas" está presente no menu lateral. | |
| menuAdmin.verificarTextos(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Descricao: Teste para Salvar, Listar, Detalhar e Excluir Pessoa. | |
| * | |
| */ | |
| public class TestePessoaVisual extends TesteSelenium { | |
| /** | |
| * Descricao: Teste para Listar as Pessoa cadastradas no sistema. | |
| * | |
| */ |
NewerOlder