diff options
author | xuri <xuri.me@gmail.com> | 2022-08-17 10:59:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-17 10:59:52 +0800 |
commit | d1e76fc432ac5c9bde99591ec5e88e46b62d9c3d (patch) | |
tree | 8e5c13bff106593ecd5dbabbd0a4fae4fefe901e /calc_test.go | |
parent | 551fb8a9e4b03fe718a339e75aeacc8b5581378a (diff) |
This closes #1319, fix calculate error for formula with negative symbol
- Update unit test and comment for the functions
Diffstat (limited to 'calc_test.go')
-rw-r--r-- | calc_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/calc_test.go b/calc_test.go index 47cd806..5822135 100644 --- a/calc_test.go +++ b/calc_test.go @@ -491,6 +491,7 @@ func TestCalcCellValue(t *testing.T) { // COS "=COS(0.785398163)": "0.707106781467586", "=COS(0)": "1", + "=-COS(0)": "-1", "=COS(COS(0))": "0.54030230586814", // COSH "=COSH(0)": "1", |