Commit 386745b
test: consolidate, standardize and improve test suite
- Remove unused Moq package reference
- Fix blank lines between [TestMethod] and public void (artifacts of previously removed [TestCategory] attributes) in ExceptionGuardTests, PolylineEncodingTests, CoordinateDeltaTests, Pow10Tests
- Consolidate Pow10Tests: 13 individual tests -> 2 data-driven [DataRow] methods
- Consolidate CoordinateDeltaTests: 8+ repeated Next/ToString tests -> 3 DataRow methods covering all input combinations
- Consolidate PolylineEncodingTests (1424 -> 681 lines): Normalize non-finite, Normalize value, Denormalize value, GetRequiredBufferSize, ValidateCharRange, ValidateBlockLength all converted to [DataRow]
- Add XML doc comments to LogDebugExtensionsTests and LogWarningExtensionsTests methods
- Rewrite AbstractPolylineDecoderTests: add copyright header, file-scoped namespace, XML docs, explicit types
- Add using System.Globalization to CoordinateDeltaTests
Agent-Logs-Url: https://github.com/petesramek/polyline-algorithm-csharp/sessions/2ffb0731-b271-46b2-8126-78f2f97d1f21
Co-authored-by: petesramek <2333452+petesramek@users.noreply.github.com>1 parent 663fa25 commit 386745b
8 files changed
Lines changed: 468 additions & 1473 deletions
File tree
- tests/PolylineAlgorithm.Tests
- Abstraction
- Internal
- Diagnostics
Lines changed: 56 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
2 | 54 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
38 | 58 | | |
39 | | - | |
| 59 | + | |
0 commit comments