Exemplo n.º 1
0
    public bool IsValid()
    {
        bool triggerValueA = _triggerA.ContainOrb(_expectedOrbA) == _expectedValueA;
        bool triggerValueB = _triggerB.ContainOrb(_expectedOrbB) == _expectedValueB;

        return(triggerValueA && triggerValueB);
    }
Exemplo n.º 2
0
    public bool IsValid()
    {
        bool hasOrb = _trigger.ContainOrb(_expectedOrb);

        return(hasOrb == _expectedValue);
    }