Skip to content

Commit 0333992

Browse files
committed
Added unit test for error case
1 parent 5fd8c8b commit 0333992

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,10 @@ The list of support languages may grow over time.
178178

179179
## Release Notes
180180

181+
### 2.5.3
182+
183+
* Added unit test for floating point error with code "40822.schol".
184+
181185
### 2.5.2
182186

183187
* Added locale support.

test/unittest.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,6 +1523,7 @@ static int testDecodeRobustness(void) {
15231523
nrTests += testCorrectDecode("MEX 49.4V", tc);
15241524
nrTests += testCorrectDecode("NLD XX.XX", TERRITORY_NONE);
15251525
nrTests += testCorrectDecode("MX XX.XX", TERRITORY_NONE);
1526+
nrTests += testCorrectDecode("AAA 40822.schol", TERRITORY_NONE);
15261527

15271528
s1[0] = 0;
15281529
nrTests += testIncorrectDecode(s1, TERRITORY_NONE);

0 commit comments

Comments
 (0)