Ejemplo n.º 1
0
 def test_format_unit_header_2(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit=None))
     self.assertEqual(res, "Power")
Ejemplo n.º 2
0
 def test_format_unit_header_2(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit=None))
     self.assertEqual(res, "Power")
Ejemplo n.º 3
0
 def test_format_unit_header_1(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit="W"))
     self.assertEqual(res, "Power [W]")
Ejemplo n.º 4
0
 def test_format_unit_header_1(self):
     res = common.format_unit_header("Power", hfarray([0.1], unit="W"))
     self.assertEqual(res, "Power [W]")