コード例 #1
0
ファイル: test_common.py プロジェクト: ychaim/hftools
 def test_format_unit_header_2(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit=None))
     self.assertEqual(res, "Power")
コード例 #2
0
ファイル: test_common.py プロジェクト: arsenovic/hftools
 def test_format_unit_header_2(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit=None))
     self.assertEqual(res, "Power")
コード例 #3
0
ファイル: test_common.py プロジェクト: ychaim/hftools
 def test_format_unit_header_1(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit="W"))
     self.assertEqual(res, "Power [W]")
コード例 #4
0
ファイル: test_common.py プロジェクト: arsenovic/hftools
 def test_format_unit_header_1(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit="W"))
     self.assertEqual(res, "Power [W]")