Exemplo n.º 1
0
    /*  */
    public EqpToolPoolIG CreateEqpToolIG(int minSize, int maxSize, out IIconGroupConstArg arg)
    {
        IIconGroupConstArg thisArg = CreateStubIconGroupConstArg(minSize, maxSize);
        EqpToolPoolIG      ig      = new EqpToolPoolIG(thisArg);

        arg = thisArg;
        return(ig);
    }
Exemplo n.º 2
0
    public void EquipToolPoolIG_HasItemSpace_ValidTypeIsPassed_ReturnsTrue()
    {
        IIconGroupConstArg arg;
        EqpToolPoolIG      eqpToolPoolIG = CreateEqpToolIG(2, 10, out arg);
        IEquippableUIItem  eqpItem       = Substitute.For <IEquippableUIItem>();

        bool actualBool = eqpToolPoolIG.HasItemSpace(eqpItem);

        Assert.That(actualBool, Is.True);
    }