Fix compile error in test project
Fix compile error in test project

(cherry picked from commit c7111e1cd7f119dab0e7b1cad3e2c2bccf10ff08)

maherkassim/UnitsNet,anjdreas/UnitsNet,BoGrevyDynatest/UnitsNet,neutmute/UnitsNet,BrandonLWhite/UnitsNet,anjdreas/UnitsNet,maherkassim/UnitsNet,Tirael/UnitsNet,BrandonLWhite/UnitsNet