public void GetConcWS_Array_test() { Continuum thisInst = new Continuum(""); string Filename = testingFolder + "\\MCP testing.cfm"; thisInst.Open(Filename); Met thisMet = thisInst.metList.metItem[0]; MCP thisMCP = thisMet.mcp; thisMCP.numWD = 8; thisMCP.numTODs = 2; thisMCP.numSeasons = 1; double[] theseWS = thisMCP.GetConcWS_Array("Target", 2, Met.TOD.Day, Met.Season.All, 4.5f, 5.5f, false); Assert.AreEqual(theseWS.Length, 50, 0, "Wrong data count in Test 1"); theseWS = thisMCP.GetConcWS_Array("Reference", 2, Met.TOD.Day, Met.Season.All, 4.5f, 5.5f, false); Assert.AreEqual(theseWS.Length, 50, 0, "Wrong data count in Test 2"); thisInst.Close(); }