abidurrahman11 / abidurrahman11/Pygame-Racing-Car

[feature] Add test codes

Aperta
#48 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
18
Fork
26
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Issue Type
- [ ] Bug report
- [ V ] Feature request
- [ ] Documentation update
- [ ] Other (please specify)

## Description
Currently, the codes of the game do not have any test codes. This issue proposes to add structured test cases for each code to improve reliability, support future refactoring, and ensure feature integrity.

## Expected behaviour
Each major module should have its own unit test file that:
- Verifies class initialization (`Game`)
- Validates asset loading behavior
- Confirms visual rendering logic does not raise errors during execution

## Actual behaviour
No test files exist for the codes. All logic currently runs without automated validation.

## Your Environment (for bugs):
- Operating System: Window 11

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.