public void HeightmapResolutionsArePowerOfTwoPlusOne()
 {
     // this currently doesn't fail, but its possible that there are times
     foreach (var heightmapResolution in ToolboxHelper.GUIHeightmapResolutions)
     {
         Assert.That(ToolboxHelper.IsPowerOfTwo(heightmapResolution - 1), Is.True);
     }
 }
 public void IsPowerOfTwo()
 {
     // confirm for the first 100 powers of two
     for (int i = 0; i < 100; i++)
     {
         Assert.That(ToolboxHelper.IsPowerOfTwo((int)Mathf.Pow(2, i)), Is.True);
     }
 }