private void CheckIDs(Unknown seriesTable)
        {
            var cells     = (Dictionary <int, List <Tuple <string, bool, Color> > >)seriesTable.Element.GetAttributeValue("Cells");
            var leftCells = ParamTableHelper.GetCellsColor(cells);
            var status    = true;

            for (var i = 0; i < leftCells.Count && status; i++)
            {
                status = leftCells[i].Equals(Color.FromArgb(255, 0, 255, 0));
            }
            Validate.AreEqual(status, true);
            var leftCellsValue = ParamTableHelper.GetCellsStringValue(cells);

            status = true;
            for (var i = 0; i < leftCellsValue.Count && status; i++)
            {
                status = leftCellsValue[i].Equals("Unknown" + (i + 1));
            }
            Validate.AreEqual(status, true);
            var leftCellsText = ParamTableHelper.GetLeftCellsText(cells);

            status = true;
            for (var i = 0; i < leftCellsText.Count && status; i++)
            {
                var text = "Unknown" + (i + 1);
                status = leftCellsText[i].Equals(text);
            }
            Validate.AreEqual(status, true);
        }
        public void CheckStartValues()
        {
            var cells = (Dictionary <int, List <Tuple <string, bool, Color> > >)repo.MyAssaysDesktopAnalysis.MultiplexConcentrationsEditor.Element.GetAttributeValue("PlexCells");

            var cellsValues = ParamTableHelper.GetCellsStringValue(cells);

            Validate.AreEqual(cellsValues[0], String.Format("0{0}125", decimalSeparator), String.Format("Validate first start value is 0{0}125", decimalSeparator));
            Validate.AreEqual(cellsValues[1], String.Format("0{0}125", decimalSeparator), String.Format("Validate second start value is 0{0}125", decimalSeparator));
        }
        public void CheckConcentrations()
        {
            var cells = (Dictionary <int, List <Tuple <string, bool, Color> > >)repo.MyAssaysDesktopAnalysis.MultiplexConcentrationsEditor.Element.GetAttributeValue("ConcentrationCells");

            var cellsValues = ParamTableHelper.GetCellsStringValue(cells);

            var startValue = 0.125;

            foreach (var currentValue in cellsValues)
            {
                var expectedValue = startValue.ToString();
                if (decimalSeparator.Equals(","))
                {
                    expectedValue = expectedValue.Replace(".", ",");
                }
                else
                {
                    expectedValue = expectedValue.Replace(",", ".");
                }

                Validate.AreEqual(currentValue, expectedValue, String.Format("Validate concentration value is {0}. Actual: {1}", expectedValue, currentValue));
                startValue = startValue * 2;
            }
        }