Last active
December 4, 2015 10:52
-
-
Save corrspt/02e1f671c24a200a8426 to your computer and use it in GitHub Desktop.
Rules Tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| test('|Heat Input|when totalWeldingThickness is >= 12 calculate correct rules', function(assert) { | |
| let baseMaterialGroupName = null; | |
| let hardessRequirement = false; | |
| let impactRequirement = false; | |
| let heatInputTP = 8.23; | |
| let totalWeldingThickness = 12; | |
| let result = PQRRules.calculateHeatInputApprovalRange(this.isoStandard, | |
| baseMaterialGroupName, hardessRequirement, impactRequirement, | |
| heatInputTP, totalWeldingThickness); | |
| assert.equal(result.heatInputARmax, 10.29, 'Should be 125% of initial value'); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment