public void Method_Of_Bins_Test()
        {
            // Test Method of Bins method
            // Loop through WD, TOD, Season, and WS width (0.5 and 1.0 m/s)
            Continuum thisInst = new Continuum("");
            string    fileName = "C:\\Users\\liz_w\\Desktop\\Continuum 3 GUI Testing\\SaveFolder\\OneMetTSNotFiltWithMERRAAndMCP_1";

            thisInst.Open(fileName + ".cfm");
            thisInst.isTest = true;
            thisInst.cboMCP_Type.SelectedIndex = 1;

            Met thisMet = thisInst.GetSelectedMet("MCP");

            Met.WSWD_Dist thisEst = new Met.WSWD_Dist();
            Met.WSWD_Dist lastEst = new Met.WSWD_Dist();

            for (int WD_ind = 0; WD_ind <= 4; WD_ind++)
            {
                for (int TOD_ind = 0; TOD_ind <= 1; TOD_ind++)
                {
                    for (int seasonInd = 0; seasonInd <= 1; seasonInd++)
                    {
                        for (int WS_width_ind = 0; WS_width_ind <= 1; WS_width_ind++)
                        {
                            if (WS_width_ind == 0)
                            {
                                thisInst.txtWS_bin_width.Text = "0.5";
                            }
                            else
                            {
                                thisInst.txtWS_bin_width.Text = "1.0";
                            }

                            thisInst.cboMCPNumHours.SelectedIndex   = TOD_ind;
                            thisInst.cboMCPNumSeasons.SelectedIndex = seasonInd;
                            thisInst.cboMCPNumWD.SelectedIndex      = WD_ind;
                            thisInst.DoMCP();
                            thisEst = thisMet.GetWS_WD_Dist(thisInst.modeledHeight, Met.TOD.All, Met.Season.All);

                            Assert.AreNotEqual(thisEst.WS, lastEst.WS, "LT Estimate did not change with setting change");
                            lastEst = thisEst;
                        }
                    }
                }
            }

            thisInst.Close();
        }
        public void Variance_Ratio_Test()
        {
            // Test Variance Ratio method

            Continuum thisInst = new Continuum("");
            string    fileName = "C:\\Users\\liz_w\\Desktop\\Continuum 3 GUI Testing\\SaveFolder\\OneMetTSNotFiltWithMERRAAndMCP_1";

            thisInst.Open(fileName + ".cfm");
            thisInst.isTest = true;
            thisInst.cboMCP_Type.SelectedIndex = 2;

            Met thisMet = thisInst.GetSelectedMet("MCP");

            Met.WSWD_Dist thisEst = new Met.WSWD_Dist();
            Met.WSWD_Dist lastEst = new Met.WSWD_Dist();

            for (int WD_ind = 0; WD_ind <= 4; WD_ind++)
            {
                for (int TOD_ind = 0; TOD_ind <= 1; TOD_ind++)
                {
                    for (int seasonInd = 0; seasonInd <= 1; seasonInd++)
                    {
                        thisInst.cboMCPNumHours.SelectedIndex   = TOD_ind;
                        thisInst.cboMCPNumSeasons.SelectedIndex = seasonInd;
                        thisInst.cboMCPNumWD.SelectedIndex      = WD_ind;
                        thisInst.DoMCP();
                        thisEst = thisMet.GetWS_WD_Dist(thisInst.modeledHeight, Met.TOD.All, Met.Season.All);

                        Assert.AreNotEqual(thisEst.WS, lastEst.WS, "LT Estimate did not change with setting change");
                        lastEst = thisEst;
                    }
                }
            }

            thisInst.Close();
        }