public void OddKeyFloat()
        {
            var storage = new PreferenceStorage ();

            var expectedFloat = 3.1415f;
            storage.SetFloat (Key2, expectedFloat);

            var f = storage.GetFloat (Key);
            Assert.AreEqual (PreferenceStorage.Defaults.Float, f);

            var f2 = storage.GetFloat (Key2);
            Assert.AreEqual (expectedFloat, f2);
        }
        public void SetGetFloat()
        {
            var storage = new PreferenceStorage ();
            var expected = ((float)Math.Sqrt (5f) + 1f) / 2f;

            storage.SetFloat (Key, expected);
            {
                var actual = storage.GetFloat (Key);
                Assert.AreEqual (expected, actual);
            }

            storage.SetFloat (Key, expected + 1);
            {
                var actual = storage.GetFloat (Key);
                Assert.AreEqual (expected + 1, actual);
            }
        }