Exemplo n.º 1
0
        public void SetInt64_ShouldSetNewValue()
        {
            // Prepare
            var expectedValue = 9223372036854775805;
            // Execute
            var result        = _gSettings.SetInt64("test-long", expectedValue);
            var resultUpdated = _gSettings.GetInt64("test-long");

            // Assert
            Assert.True(result);
            Assert.Equal(expectedValue, resultUpdated);
            // Reset the value to it's original state.
            _gSettings.Reset("test-long");
        }