File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -320,12 +320,12 @@ class KiloWattHourPerKiloWattHour(Base_UnitType):
320
320
321
321
__symbol__ = "KWH/KWH"
322
322
__aliases__ = ["KWH/KWH" ]
323
- __factors__ = {"KWH/KWH" : "{}*1" , "BTU/BTU" : "{}*3412.14 " }
323
+ __factors__ = {"KWH/KWH" : "{}*1" , "BTU/BTU" : "{}*1 " }
324
324
325
325
326
326
class BtuPerBtu (Base_UnitType ):
327
327
"""BTU/BTU"""
328
328
329
329
__symbol__ = "BTU/BTU"
330
330
__aliases__ = ["BTU/BTU" ]
331
- __factors__ = {"KWH/KWH" : "{}*0.000293071 " , "BTU/BTU" : "{}*1" }
331
+ __factors__ = {"KWH/KWH" : "{}*1 " , "BTU/BTU" : "{}*1" }
Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ def test_Btu_per_ft2_per_degree_Farenheit():
150
150
151
151
def test_kWh_per_kWh ():
152
152
assert convert (1 , "KWH/KWH" , "KWH/KWH" ) == 1
153
- assert convert (1 , "KWH/KWH" , "BTU/BTU" ) == pytest . approx ( 3412.14 )
153
+ assert convert (1 , "KWH/KWH" , "BTU/BTU" ) == 1
154
154
155
155
156
156
def test_Btu_per_Btu ():
157
157
assert convert (1 , "BTU/BTU" , "BTU/BTU" ) == 1
158
- assert convert (1 , "BTU/BTU" , "KWH/KWH" ) == pytest . approx ( 0.000293071 )
158
+ assert convert (1 , "BTU/BTU" , "KWH/KWH" ) == 1
159
159
160
160
You can’t perform that action at this time.
0 commit comments