1
1
import * as volume from '../Volume'
2
2
3
- test ( 'Testing on volCuboid' , ( ) => {
3
+ describe ( 'Testing on volCuboid' , ( ) => {
4
4
it ( 'with correct args' , ( ) => {
5
5
const volCuboid = volume . volCuboid ( 2.0 , 5.0 , 3 )
6
6
expect ( volCuboid ) . toBe ( 30.0 )
@@ -18,7 +18,7 @@ test('Testing on volCuboid', () => {
18
18
} )
19
19
} )
20
20
21
- test ( 'Testing on volCube' , ( ) => {
21
+ describe ( 'Testing on volCube' , ( ) => {
22
22
it ( 'with correct args' , ( ) => {
23
23
const volCube = volume . volCube ( 2.0 )
24
24
expect ( volCube ) . toBe ( 8.0 )
@@ -30,7 +30,7 @@ test('Testing on volCube', () => {
30
30
} )
31
31
} )
32
32
33
- test ( 'Testing on volCone' , ( ) => {
33
+ describe ( 'Testing on volCone' , ( ) => {
34
34
it ( 'with correct args' , ( ) => {
35
35
const volCone = volume . volCone ( 2.0 , 8.0 )
36
36
expect ( volCone ) . toBe ( 33.5103 )
@@ -45,7 +45,7 @@ test('Testing on volCone', () => {
45
45
} )
46
46
} )
47
47
48
- test ( 'Testing on volPyramid' , ( ) => {
48
+ describe ( 'Testing on volPyramid' , ( ) => {
49
49
it ( 'with correct args' , ( ) => {
50
50
const volPyramid = volume . volPyramid ( 2.0 , 3.0 , 8.0 )
51
51
expect ( volPyramid ) . toBe ( 16.0 )
@@ -63,7 +63,7 @@ test('Testing on volPyramid', () => {
63
63
} )
64
64
} )
65
65
66
- test ( 'Testing on volCylinder' , ( ) => {
66
+ describe ( 'Testing on volCylinder' , ( ) => {
67
67
it ( 'with correct args' , ( ) => {
68
68
const volCylinder = volume . volCylinder ( 2.0 , 8.0 )
69
69
expect ( volCylinder ) . toBe ( 100.5310 )
@@ -78,7 +78,7 @@ test('Testing on volCylinder', () => {
78
78
} )
79
79
} )
80
80
81
- test ( 'Testing on volTriangularPrism' , ( ) => {
81
+ describe ( 'Testing on volTriangularPrism' , ( ) => {
82
82
it ( 'with correct args' , ( ) => {
83
83
const volTriangularPrism = volume . volTriangularPrism ( 3.0 , 6.0 , 8.0 )
84
84
expect ( volTriangularPrism ) . toBe ( 72.0 )
@@ -96,7 +96,7 @@ test('Testing on volTriangularPrism', () => {
96
96
} )
97
97
} )
98
98
99
- test ( 'Testing on volPentagonalPrism' , ( ) => {
99
+ describe ( 'Testing on volPentagonalPrism' , ( ) => {
100
100
it ( 'with correct args' , ( ) => {
101
101
const volPentagonalPrism = volume . volPentagonalPrism ( 1.0 , 4.0 , 8.0 )
102
102
expect ( volPentagonalPrism ) . toBe ( 80.0 )
@@ -114,7 +114,7 @@ test('Testing on volPentagonalPrism', () => {
114
114
} )
115
115
} )
116
116
117
- test ( 'Testing on volSphere' , ( ) => {
117
+ describe ( 'Testing on volSphere' , ( ) => {
118
118
it ( 'with correct args' , ( ) => {
119
119
const volSphere = volume . volSphere ( 4.0 )
120
120
expect ( volSphere ) . toBe ( 268.0826 )
@@ -126,7 +126,7 @@ test('Testing on volSphere', () => {
126
126
} )
127
127
} )
128
128
129
- test ( 'Testing on volHemisphere' , ( ) => {
129
+ describe ( 'Testing on volHemisphere' , ( ) => {
130
130
it ( 'with correct args' , ( ) => {
131
131
const volHemisphere = volume . volHemisphere ( 4.0 )
132
132
expect ( volHemisphere ) . toBe ( 134.0413 )
0 commit comments