Sfoglia il codice sorgente

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 anni fa
parent
commit
16691d98ca
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      test_pdbuddy/__init__.py

+ 3
- 3
test_pdbuddy/__init__.py Vedi File

@@ -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…
Annulla
Salva