Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
iopapamanoglou committed Sep 2, 2024
1 parent b44a196 commit 884628f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/core/test_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ def __preinit__(self) -> None:
r = r.get_most_narrow()
self.assertIsInstance(r, Range, f"{type(r)}")

def test_units(self):
self.assertEqual(Constant(1e-9 * P.F), 1 * P.nF)


if __name__ == "__main__":
unittest.main()

0 comments on commit 884628f

Please sign in to comment.