Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5cd94d8

Browse files
authored
Update PythagoreanTheorem.test.js
1 parent 3ae304c commit 5cd94d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎Maths/test/PythagoreanTheorem.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ test('Testing on hypothenuse calculation', () => {
66
})
77

88
test('Testing on other sides calculation', () => {
9-
const side = pytheorem.calcAdjacent(4.0, 3.0)
9+
const side = pytheorem.calcOtherSide(4.0, 3.0)
1010
expect(side).toBe(2.0)
1111
})
1212

1313
test('Testing on other sides calculation', () => {
14-
const side = pytheorem.calcAdjacent(2.0, 4.0)
14+
const side = pytheorem.calcOtherSide(2.0, 4.0)
1515
expect(side).toBe('Length of side1 must be smaller than hypothenuse')
1616
})
1717

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /