Skip to content

Commit

Permalink
Merge pull request #21 from anas-sarkez/main
Browse files Browse the repository at this point in the history
Added some more tests
  • Loading branch information
AnasSarkiz authored Aug 25, 2024
2 parents 7237177 + 97bb478 commit 53ac1ae
Show file tree
Hide file tree
Showing 6 changed files with 221 additions and 1 deletion.
16 changes: 16 additions & 0 deletions tests/bga.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,19 @@ test("bga7_w8_h8_grid3x3_p1_missing(center,B1)", async (t) => {
)
snapshotSoup(soup)
})

test("bga64_w10_h10_grid8x8_p1.27mm", async (t) => {
const { snapshotSoup } = await getTestFixture(t)
const soup = fp()
.bga(64)
.w("10mm")
.h("10mm")
.grid("8x8")
.missing("center")
.p(1.27)
.soup()
// 16pins, 4mm x 4mm, 8x8 grid, 1.27mm pitch
const ps = toPinPositionString(soup)
t.pass()
snapshotSoup(soup)
})
77 changes: 77 additions & 0 deletions tests/output/bga64_w10_h10_grid8x8_p1.27mm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions tests/output/qfp80_w14_h14_p0.65mm.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 53ac1ae

Please sign in to comment.