This is a very simple class with unit testing using QT. I hope this will help someone who hasn't done unit testing before.