import {
    heatTransferByTransmissionCoefficient
} from "model/transmission";
import {MathHelper} from "util/math";

import {buildingElements} from "testdata/epc";

describe("Transmission Heat Transfer", function() {
    it("can calculate heat transfer coefficient", function() {
        let walls = buildingElements.filter((elem) => elem.type === "wall" || elem.type === "roof");
        let windows = buildingElements.filter((elem) => elem.type === "window");

        expect(MathHelper.round(heatTransferByTransmissionCoefficient(walls, windows), 2)).toBe(414.76);
    });
});

@@ -136,16 +136,42 @@
 Elements
+, heatTransferCoeffiecient
 %7D from %22
@@ -575,17 +575,17 @@
 s), 
-2
+5
 )).toBe(
 414.
@@ -584,14 +584,32 @@
 oBe(
-414.76
+heatTransferCoeffiecient
 );%0A 

update to import reference.