public static void GetMinCapacityTest() { var instance = new DBItemSettingList(); var maxCapacity = instance.GetMinCapacity(); // 取得した値が容量最大値と一致すること Assert.AreEqual(maxCapacity, DBItemSettingList.MinCapacity); }
public static void SerializeTest() { var target = new DBItemSettingList(); target.AdjustLength(3); var clone = DeepCloner.DeepClone(target); Assert.IsTrue(clone.Equals(target)); }