MissouriMRR / SUAS-2025

Missouri S&T Multirotor Design Team's code for the 2025 Student Unmanned Aerial Systems Competition (SUAS).
MIT License
3 stars 0 forks source link

Add Unit Test for bottle_reader.py #16

Closed OrangePear13 closed 2 weeks ago

OrangePear13 commented 1 month ago

Add Unit Test for bottle_reader.py

Problem

Create unit tests for vision/competition_inputs/bottle_reader.py

Solution

Unit tests that will execute every line of code in the file (excluding main block code, unless file is intended to be ran directly).

Additional Information

A Unit test is code that will verify that a small, indivisible block of code executes as expected and generates the desired output when given input as specified.

OrangePear13 commented 2 weeks ago

The SUAS rules are going to be different regarding bottle dropping, so this unit test will have to wait for bottle_reader.py to be updated (after we have the rules).