Skip to content

Commit 45cde7a

Browse files
authored
Update Volume.test.js
1 parent ab761ec commit 45cde7a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Maths/test/Volume.test.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as volume from '../Volume'
22

3-
test('Testing on volCuboid', () => {
3+
describe('Testing on volCuboid', () => {
44
it('with correct args', () => {
55
const volCuboid = volume.volCuboid(2.0, 5.0, 3)
66
expect(volCuboid).toBe(30.0)
@@ -18,7 +18,7 @@ test('Testing on volCuboid', () => {
1818
})
1919
})
2020

21-
test('Testing on volCube', () => {
21+
describe('Testing on volCube', () => {
2222
it('with correct args', () => {
2323
const volCube = volume.volCube(2.0)
2424
expect(volCube).toBe(8.0)
@@ -30,7 +30,7 @@ test('Testing on volCube', () => {
3030
})
3131
})
3232

33-
test('Testing on volCone', () => {
33+
describe('Testing on volCone', () => {
3434
it('with correct args', () => {
3535
const volCone = volume.volCone(2.0, 8.0)
3636
expect(volCone).toBe(33.5103)
@@ -45,7 +45,7 @@ test('Testing on volCone', () => {
4545
})
4646
})
4747

48-
test('Testing on volPyramid', () => {
48+
describe('Testing on volPyramid', () => {
4949
it('with correct args', () => {
5050
const volPyramid = volume.volPyramid(2.0, 3.0, 8.0)
5151
expect(volPyramid).toBe(16.0)
@@ -63,7 +63,7 @@ test('Testing on volPyramid', () => {
6363
})
6464
})
6565

66-
test('Testing on volCylinder', () => {
66+
describe('Testing on volCylinder', () => {
6767
it('with correct args', () => {
6868
const volCylinder = volume.volCylinder(2.0, 8.0)
6969
expect(volCylinder).toBe(100.5310)
@@ -78,7 +78,7 @@ test('Testing on volCylinder', () => {
7878
})
7979
})
8080

81-
test('Testing on volTriangularPrism', () => {
81+
describe('Testing on volTriangularPrism', () => {
8282
it('with correct args', () => {
8383
const volTriangularPrism = volume.volTriangularPrism(3.0, 6.0, 8.0)
8484
expect(volTriangularPrism).toBe(72.0)
@@ -96,7 +96,7 @@ test('Testing on volTriangularPrism', () => {
9696
})
9797
})
9898

99-
test('Testing on volPentagonalPrism', () => {
99+
describe('Testing on volPentagonalPrism', () => {
100100
it('with correct args', () => {
101101
const volPentagonalPrism = volume.volPentagonalPrism(1.0, 4.0, 8.0)
102102
expect(volPentagonalPrism).toBe(80.0)
@@ -114,7 +114,7 @@ test('Testing on volPentagonalPrism', () => {
114114
})
115115
})
116116

117-
test('Testing on volSphere', () => {
117+
describe('Testing on volSphere', () => {
118118
it('with correct args', () => {
119119
const volSphere = volume.volSphere(4.0)
120120
expect(volSphere).toBe(268.0826)
@@ -126,7 +126,7 @@ test('Testing on volSphere', () => {
126126
})
127127
})
128128

129-
test('Testing on volHemisphere', () => {
129+
describe('Testing on volHemisphere', () => {
130130
it('with correct args', () => {
131131
const volHemisphere = volume.volHemisphere(4.0)
132132
expect(volHemisphere).toBe(134.0413)

0 commit comments

Comments
 (0)