public void SetDouble_ShouldSetNewValue() { // Prepare var expectedValue = 4.1415999999999999; // Execute var result = _gSettings.SetDouble("test-double", expectedValue); var resultUpdated = _gSettings.GetDouble("test-double"); // Assert Assert.True(result); Assert.Equal(expectedValue, resultUpdated); // Reset the value to it's original state. _gSettings.Reset("test-double"); }