Commit 192914b
committed
test: Add comprehensive multi-material test coverage
Add new multi-material test fixtures and 18 comprehensive test cases
to verify proper parsing of files with multiple filament types used
simultaneously. Tests cover both .gcode and .3mf formats.
New fixtures:
- OrcaFF_PLA_and_SILK.gcode (3.1 MB)
- OrcaFF_PLA_and_SILK.gcode.3mf (842 KB)
Test coverage includes:
- Parsing both .gcode and .3mf multi-material files (2x9 tests)
- Verifying individual filament properties (type, color, usage)
- Validating unit conversion (mm to meters)
- Checking consistency between file and threeMf data structures
- Confirming correct detection of all used materials1 parent bada405 commit 192914b
4 files changed
Lines changed: 130639 additions & 1 deletion
File tree
- .claude
- __tests__
- fixtures
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
0 commit comments