public void ExpToLevelTest() { double expTo0 = StaticMetods.ExpToLevel(0, false); double expTo1 = StaticMetods.ExpToLevel(1, false); double expTo2 = StaticMetods.ExpToLevel(2, false); double expTo3 = StaticMetods.ExpToLevel(3, false); double expTo4 = StaticMetods.ExpToLevel(4, false); Debug.Assert(expTo0 == 0); Debug.Assert(expTo1 == 10); Debug.Assert(expTo2 == 20); Debug.Assert(expTo3 == 50); Debug.Assert(expTo4 == 110); }