Esempio n. 1
0
        public void HasKeyTest()
        {
            var saver = new DataSaver(DataSaver.DataLocation.UserData);

            saver.Save("alpha", 321);
            saver.Save("alpha2", "asd");

            Assert.AreEqual(saver.HasKey("alpha"), true);
            Assert.AreEqual(saver.HasKey("alpha2"), true);
            Assert.AreEqual(saver.HasKey("alpha3"), false);
        }