Skip to content

Add test for the buffers and pins insertion from ibis model. #855

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

Merged
merged 5 commits into from
Feb 16, 2022

Conversation

MaxJPRey
Copy link
Collaborator

Add test for the buffers and pins insertion from ibis model.

@MaxJPRey MaxJPRey requested a review from maxcapodi78 February 15, 2022 10:58
@codecov
Copy link

codecov bot commented Feb 15, 2022

Codecov Report

Merging #855 (faf8e8b) into main (8c69d2a) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #855      +/-   ##
==========================================
+ Coverage   78.12%   78.14%   +0.02%     
==========================================
  Files         128      128              
  Lines       35350    35356       +6     
==========================================
+ Hits        27617    27629      +12     
+ Misses       7733     7727       -6     

@@ -42,3 +42,11 @@ def test_01_read_ibis(self):
assert ibis.components["MT47H64M4BP-3_25"].pins["A1_MT47H64M4BP-3_25_u26a_800_modified"].r_value == "44.3m"
assert ibis.components["MT47H64M4BP-3_25"].pins["A1_MT47H64M4BP-3_25_u26a_800_modified"].l_value == "1.99nH"
assert ibis.components["MT47H64M4BP-3_25"].pins["A1_MT47H64M4BP-3_25_u26a_800_modified"].c_value == "0.59pF"

# Add pin
ibis.components["MT47H32M8BP-3_25"].pins["A7_MT47H32M8BP-3_25_u26a_800_modified"].add()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no assertion?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion. Done.
The insert() methods now return the component object.

Copy link
Collaborator

@maxcapodi78 maxcapodi78 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MaxJPRey MaxJPRey merged commit bd3d76e into main Feb 16, 2022
@MaxJPRey MaxJPRey deleted the maint/test_ibis_reader branch February 16, 2022 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants