コード例 #1
0
        public void SetUInt64_ShouldSetNewValue()
        {
            // Prepare
            var expectedValue = 18446744073709551614;
            // Execute
            var result        = _gSettings.SetUInt64("test-uint64", expectedValue);
            var resultUpdated = _gSettings.GetUInt64("test-uint64");

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