コード例 #1
0
        public void CellsWorksheetsGetWorkSheetCalculateFormulaTest()
        {
            string name      = "Book1.xlsx";
            string sheetName = "SHEET1";
            string formula   = "=NOW()";
            string folder    = null;

            new Config().UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheetCalculateFormula(name, sheetName, formula, folder);

            Console.WriteLine(response);
        }
コード例 #2
0
        public void CellsWorksheetsGetWorkSheetCalculateFormulaTest()
        {
            // TODO uncomment below to test the method and replace null with proper value
            string name      = BOOK1;
            string sheetName = SHEET1;
            string formula   = "=NOW()";
            string folder    = TEMPFOLDER;

            UpdateDataFile(folder, name);
            var response = instance.CellsWorksheetsGetWorksheetCalculateFormula(name, sheetName, formula, folder);

            Assert.IsInstanceOf <SingleValueResponse>(response, "response is SingleValueResponse");
        }