Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Test Tracking #9

Open
1 of 43 tasks
Werni2A opened this issue Jan 4, 2022 · 0 comments
Open
1 of 43 tasks

Unit Test Tracking #9

Werni2A opened this issue Jan 4, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Werni2A
Copy link
Owner

Werni2A commented Jan 4, 2022

Tests that should be implemented into the CI.

Feel free to contribute some test files. A few points to note are listed in the following.

  • If you vary a parameter e.g. an enum try to keep the rest of the parameters the same as for other variations of the same parameter. This simplifies finding the offset, when comparing two files byte-by-byte.

  • Do not use 0.0 or other values that might occur elsewhere in the file for tests. Otherwise we might misinterpret some values and the test does not detect this.

  • Units (enum)

  • Decimal places (unsigned in range [0, 4])

  • Start

    • Padstack usage (enum)
  • Drill

    • Slot
      • Slot type (enum)
      • X size (unsigned)
      • Y size (unsigned)
        • X tolerance
          • +
          • -
        • Y tolerance
          • +
          • -
    • Drill hole
      • Hole type (enum)
      • Finished diameter (unsigned)
      • + Tolerance (unsigned)
      • - Tolerance (unsigned)
      • Drill tool size (string)
      • Non-standard drill (enum)
    • Hole plating
      • Hole/slot plating (enum)
    • Define the drill rows and columns
      • Number of drill rows (unsigned)
      • Number of drill columns (unsigned)
      • Clearance between columns (unsigned)
      • Clearance between rows (unsigned)
      • Drills are staggered (bool)
  • Secondary Drill

    • Backdrill (bool)
      • Diameter (unsigned)
        • Backdrill drill symbol
          • Type of drill figure (enum)
          • Characters (string with <= 3 characters)
          • Drill figure width (unsigned)
          • Drill figure height (unsigned)
    • Counter bore/sink (bool)
      • Bore type (enum)
      • Diameter (unsigned)
      • + Tolerance (unsigned)
      • - Tolerance (unsigned)
      • Depth (unsigned)
  • Drill Symbol

    • Define a drill symbol
      • Type of drill figure (enum)
      • Characters (string with <= 3 characters)
      • Drill figure width (unsigned)
      • Drill figure height (unsigned)
  • Drill Offset

    • Offset from padstack origin to hole
      • Offset x (int)
      • Offset y (int)
  • Design Layers

    • ...
  • Mask Layers

    • ...
  • Options

    • Suppress unconnected internal pads; legacy artwork (bool)
    • Lock layer span (bool)
    • Poly via (bool)
@Werni2A Werni2A pinned this issue Jan 4, 2022
@Werni2A Werni2A added the help wanted Extra attention is needed label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant