# 07-01 Unit Testing Correction Algorithm
Today I started writing some unit tests for the real time correction algorithm. I still will have to break it down further into its components. There are member functions that only obfuscate my intent behind the correction algorithm and are on a different abstraction level. These I will move down into own classes, which simultaneously will make them easier to test.
I also refactored the code for the ESP32 a bit and flashed the software on all devices. As an attempt to make everything more visually interesting, I also redid the stuff that is displayed on the TFT display.
{ width=60% }