소스 검색

Changed test voltages and currents

They're now right next to boundary values, which is much more reasonable
than the arbitrary values they had before.
Clara Hobbs 7 년 전
부모
커밋
16691d98ca
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      test_pdbuddy/__init__.py

+ 3
- 3
test_pdbuddy/__init__.py 파일 보기

@@ -21,11 +21,11 @@ class SinkTestCase(unittest.TestCase):
21 21
         self.obj_valid_gb = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
22 22
                 flags=pdbuddy.SinkFlags.GIVEBACK, v=15000, i=3000)
23 23
         self.obj_huge_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
24
-                flags=pdbuddy.SinkFlags.NONE, v=70000, i=70000)
24
+                flags=pdbuddy.SinkFlags.NONE, v=65536, i=65536)
25 25
         self.obj_big_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
26
-                flags=pdbuddy.SinkFlags.NONE, v=50000, i=50000)
26
+                flags=pdbuddy.SinkFlags.NONE, v=20001, i=5001)
27 27
         self.obj_neg_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
28
-                flags=pdbuddy.SinkFlags.NONE, v=-5000, i=-1000)
28
+                flags=pdbuddy.SinkFlags.NONE, v=-1, i=-1)
29 29
 
30 30
     def tearDown(self):
31 31
         # Close the connection to the PD Buddy Sink

Loading…
취소
저장