示例#1
0
    public void ConstructSimonTest(IMiniGameEventManager miniGameEventManager, string miniGameId, int inputCount, int inputSequenceCount, int failureThreshold)
    {
        Simon simon = new Simon(miniGameEventManager, miniGameId, inputCount, inputSequenceCount, failureThreshold);

        Assert.AreEqual(simon.GetMiniGameId(), miniGameId);
        Assert.AreEqual(simon.GetInputIds().Length, inputCount);
        Assert.AreEqual(simon.GetInputSequence().Length, inputSequenceCount);
        Assert.AreEqual(simon.GetFailureThreshold(), failureThreshold);
    }