public void TestGetRanges3() { var f = "=SUM(A1:B3)+AVERAGE(C2:C8)"; if (MockWorkbook.TestGetRanges(f) != 2) { throw new Exception("GetReferencesFromFormula should return 2 ranges for " + f); } }