kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Merge pull request #162 from yarda/serial-to-parallel-test-fix
test: fixed serial_to_parallel testpull/179/head
commit
1637698bcc
|
@ -79,7 +79,6 @@ class TestRFTools(unittest.TestCase):
|
|||
complex(50, 10))
|
||||
|
||||
def test_serial_to_parallel(self):
|
||||
self.assertEqual(serial_to_parallel(0),complex(math.inf, math.inf))
|
||||
self.assertAlmostEqual(
|
||||
serial_to_parallel(complex(50, 10)),
|
||||
complex(52, 260))
|
||||
|
|
Ładowanie…
Reference in New Issue