Browse Source

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 years ago
parent
commit
16691d98ca
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      test_pdbuddy/__init__.py

+ 3
- 3
test_pdbuddy/__init__.py View File

21
         self.obj_valid_gb = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
21
         self.obj_valid_gb = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
22
                 flags=pdbuddy.SinkFlags.GIVEBACK, v=15000, i=3000)
22
                 flags=pdbuddy.SinkFlags.GIVEBACK, v=15000, i=3000)
23
         self.obj_huge_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
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
         self.obj_big_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
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
         self.obj_neg_vi = pdbuddy.SinkConfig(status=pdbuddy.SinkStatus.VALID,
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
     def tearDown(self):
30
     def tearDown(self):
31
         # Close the connection to the PD Buddy Sink
31
         # Close the connection to the PD Buddy Sink

Loading…
Cancel
Save