Exemplo n.º 1
0
        public static void GetMinCapacityTest()
        {
            var instance    = new DBItemSettingList();
            var maxCapacity = instance.GetMinCapacity();

            // 取得した値が容量最大値と一致すること
            Assert.AreEqual(maxCapacity, DBItemSettingList.MinCapacity);
        }
Exemplo n.º 2
0
        public static void SerializeTest()
        {
            var target = new DBItemSettingList();

            target.AdjustLength(3);
            var clone = DeepCloner.DeepClone(target);

            Assert.IsTrue(clone.Equals(target));
        }