示例#1
0
    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)
示例#2
0
 def test_simpledevice(self):
     sil = SimpleDevice.FromPC1DDirectory(
         os.path.join(os.path.dirname(__file__), "data", "si_reference"))