UNPKG
cpt-waffle-lotide
Version:
latest (1.0.0)
1.0.0
LoTide in Typescript
github.com/vasiliy-klimkin/lotide-ts
vasiliy-klimkin/lotide-ts
cpt-waffle-lotide
/
dist
/
__tests__
/
average.test.ts
7 lines
(6 loc)
•
176 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
average
from
'../average'
;
describe
(
'average() tests'
, ():
void
=>
{
it
(
'checks if [3, 5, 7] is average to 5'
, ():
void
=>
{
expect
(
average
([
3
,
5
,
7
])).
toBe
(
5
); }) })