-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from .. import testing | ||
|
||
|
||
class EDateTest(testing.FunctionalTestCase): | ||
filename = "EDATE.xlsx" | ||
|
||
def test_counta_evaluation_A1(self): | ||
excel_value = self.evaluator.get_cell_value('Sheet1!A1') | ||
value = self.evaluator.evaluate('Sheet1!A1') | ||
self.assertEqual(excel_value, value) | ||
|
||
def test_evaluation_B1(self): | ||
excel_value = self.evaluator.get_cell_value('Sheet1!B1') | ||
value = self.evaluator.evaluate('Sheet1!B1') | ||
self.assertEqual(excel_value, value) | ||
|
||
def test_evaluation_C1(self): | ||
excel_value = self.evaluator.get_cell_value('Sheet1!C1') | ||
value = self.evaluator.evaluate('Sheet1!C1') | ||
self.assertEqual(excel_value, value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from .. import testing | ||
|
||
|
||
class EDateTest(testing.FunctionalTestCase): | ||
filename = "EOMONTH.xlsx" | ||
|
||
def test_counta_evaluation_A1(self): | ||
excel_value = self.evaluator.get_cell_value('Sheet1!A1') | ||
value = self.evaluator.evaluate('Sheet1!A1') | ||
self.assertEqual(excel_value, value) | ||
|
||
def test_evaluation_B1(self): | ||
excel_value = self.evaluator.get_cell_value('Sheet1!B1') | ||
value = self.evaluator.evaluate('Sheet1!B1') | ||
self.assertEqual(excel_value, value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters