Unit Testing bit fields

Last week I wrote about bit fields and how they can be used to easily track boolean values. Unit testing is pretty important to me, because I make mistakes a lot. By writing tests, I can have a little bit of confidence in the code that I wrote. via GIPHY Bit Fields Knowing how bit … [Read more…]