AerospaceNU / AerospaceNU/better-engine-control-software

Write tests for `TeensyBoundary`

Aperta
#4 0 commenti 0 reazioni 1 assegnatario Rivendicata da @remchrimer Vedi su GitHub
enhancement testing
Lingua principale
C++
Stelle
5
Fork
2
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

`TeensyBoundary`, the `IPhysicalBoundary` that runs on the Pi, abstracts over what types of values or what packet data source it is reading from. Because of this, it is possible to test the behavior of `TeensyBoundary` by injecting simulated "fake" values and packet data sources through the constructor.

Write these tests. Look at the tests for `FakeBoundary` for ideas of behaviors.

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.