FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
algorithm-by-javascript/__tests__/algorithm.test.ts at master · wenzi0github/algorithm-by-javascript · GitHub
wenzi0github
/
algorithm-by-javascript
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Issues
1
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
algorithm-by-javascript
/
__tests__
/
algorithm.test.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
7 lines (6 loc) · 178 Bytes
Breadcrumbs
algorithm-by-javascript
/
__tests__
/
algorithm.test.ts
Copy path
File metadata and controls
7 lines (6 loc) · 178 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
import
{
gcd
}
from
'../src/libs/algorithm'
;
describe
(
'test gcd function'
,
(
)
=>
{
test
(
'should get greatest common divisor'
,
(
)
=>
{
expect
(
gcd
(
6
,
4
)
)
.
toBe
(
2
)
;
}
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL