public void HasSlotSpace_CurSizeEqualToMasSize_NoEmtpyIIs_ReturnsFalse(int iisCount, int[] emptyAt) { IIconGroupConstArg arg; TestIG testIG = CreateTestIG(iisCount, iisCount, out arg); List <IItemIcon> iis = CreateStubItemIcons(iisCount, emptyAt); testIG.SetItemIcons(iis); bool actualBool = testIG.HasSlotSpace(); Assert.That(actualBool, Is.False); }
public void HasSlotSpace_CurSizeLessThanMaxSize_ReturnsTrue(int iisSize, int maxSize) { IIconGroupConstArg arg; TestIG testIG = CreateTestIG(iisSize, maxSize, out arg); List <IItemIcon> iis = CreateStubItemIcons(iisSize); testIG.SetItemIcons(iis); bool actualBool = testIG.HasSlotSpace(); Assert.That(actualBool, Is.True); }