private static void ConfirmDoubleConvert(double doubleVal, int expected) { Assert.AreEqual(expected, Offset.ConvertDoubleToInt(doubleVal)); }