Пример #1
0
    /// <summary>
    /// TestSequence constructor.
    /// </summary>
    /// <param name="sequenceNumber"> Number of the specific sequence (out of a number of sequences that a block makes up).</param>
    /// <param name="targetAmplitude"> The amplitude that all trial targets will use.</param>
    /// <param name="targetWidth"> The width that all trial targets will use.</param>
    /// <param name="numberOfTrials"> Number of trials in the entire sequence.</param>
    public TestSequence(int sequenceNumber, int targetAmplitude, float targetWidth, int numberOfTrials)
    {
        SequenceNumber  = sequenceNumber;
        TargetAmplitude = targetAmplitude;
        TargetWidth     = targetWidth;

        IndexOfDifficulty = TestDataHelper.CalculateIndexOfDifficulty(targetAmplitude, targetWidth);
        Trials            = GenerateTestSteps(numberOfTrials);
    }