Esempio n. 1
0
        internal void WhenIBuildANormalTMatrixWithAnInputOf(string normalInverted, char tOrI, Table table)
        {
            var normal  = normalInverted == "normal";
            var tMatrix = char.ToUpperInvariant(tOrI) == 'T';
            var inputs  = table.Rows.First().Values;

            ScenarioContext[nameof(normal)]  = normal;
            ScenarioContext[nameof(tMatrix)] = tMatrix;
            ScenarioContext[nameof(inputs)]  = inputs;

            ScenarioContext["matrix"] = MatrixOperations.GetMatrix(normal, tMatrix, string.Join(",", inputs));
        }