def test_current(self): sil = SimpleDevice.FromPC1DDirectory( os.path.join(os.path.dirname(__file__), "data", "si_reference")) current = sil.current() self.assertAlmostEqual(current, 0.0335616807321)
def test_simpledevice(self): sil = SimpleDevice.FromPC1DDirectory( os.path.join(os.path.dirname(__file__), "data", "si_reference"))