public WindowSearchMetricOrParameter()
        {
            InitializeComponent();
            titleBar.MouseLeftButtonDown += (o, e) => DragMove();

            chpMetric.SetInformation_OfMetric();
            cppMetric.SetInformation_OfMetric();
            rupMetric.SetInformation_OfMetric();
            mmtMetric.SetInformation_OfMetric();
            mbqMetric.SetInformation_OfMetric();
            sctMetric.SetInformation_OfMetric();
            sdtMetric.SetInformation_OfMetric();
            sccMetric.SetInformation_OfMetric();
            sqcMetric.SetInformation_OfMetric();
            cptMetric.SetInformation_OfMetric();
            cccMetric.SetInformation_OfMetric();
            fpMetric.SetInformation_OfMetric();
            lcMetric.SetInformation_OfMetric();
            dpMetric.SetInformation_OfMetric();

            rupMetric.SetAllParametersWithDefaultValue_OfMetric();
            mmtMetric.SetAllParametersWithDefaultValue_OfMetric();
            mbqMetric.SetAllParametersWithDefaultValue_OfMetric();
            sctMetric.SetAllParametersWithDefaultValue_OfMetric();
            sdtMetric.SetAllParametersWithDefaultValue_OfMetric();
            sccMetric.SetAllParametersWithDefaultValue_OfMetric();
            sqcMetric.SetAllParametersWithDefaultValue_OfMetric();
            cptMetric.SetAllParametersWithDefaultValue_OfMetric();
            cccMetric.SetAllParametersWithDefaultValue_OfMetric();
            fpMetric.SetAllParametersWithDefaultValue_OfMetric();
            lcMetric.SetAllParametersWithDefaultValue_OfMetric();
            dpMetric.SetAllParametersWithDefaultValue_OfMetric();
        }
Example #2
0
        public void AbstractClass_GetNameOfParameter_TestMethod()
        {
            // Arrange
            var      mainWindow = new MainWindow();
            DPmetric metric_DP  = new DPmetric(mainWindow);

            metric_DP.SetInformation_OfMetric();
            metric_DP.SetAllParametersWithDefaultValue_OfMetric();

            // Act
            string actual = metric_DP.GetNameOfParameter(3);

            // Assert
            Assert.AreEqual("Коефіцієнт СОСОМО (c)", actual);
        }