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
| ## Spring Boot testing guidelines | |
| When adding or changing tests in this Spring Boot application, prefer behavior-focused component tests over isolated unit tests. Tests should exercise the application the way production code is invoked, while keeping external dependencies controlled. | |
| ### Test from the system boundary | |
| - Tests for request-driven behavior must start from a controller endpoint. | |
| - Do not create isolated tests for services, entities, repositories, mappers, validators, or other classes that are reachable through an endpoint. | |
| - A service class should be covered through controller tests that trigger the service through the HTTP/API boundary. | |
| - Entity behavior, validation, persistence mappings, repository queries, and transactional behavior should be exercised as part of controller-driven tests whenever the behavior is reachable from an endpoint. |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "time.h" | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| #include "ui.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int tempilula = 0; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int tempilula = 0; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "time.h" | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int tempilula = 0; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "time.h" | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int acabou() { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int acabou() { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| POSICAO heroi; | |
| int acabou() { |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "fogefoge.h" | |
| #include "mapa.h" | |
| MAPA m; | |
| int acabou() { | |
| return 0; |
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
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include "fogefoge.h" | |
| char** mapa; | |
| int linhas; | |
| int colunas; | |
| void lemapa() { | |
| FILE* f; |
NewerOlder