@@ -11,8 +11,8 @@ test('Testing on volCube', () => {
1111} )
1212
1313test ( 'Testing on volCone' , ( ) => {
14- const volCone = volume . volCone ( 2 .0, 8.0 )
15- expect ( volCone ) . toBe ( 33.5103 )
14+ const volCone = volume . volCone ( 3 .0, 8.0 )
15+ expect ( volCone ) . toBe ( 75.39822 )
1616} )
1717
1818test ( 'Testing on volPyramid' , ( ) => {
@@ -21,8 +21,8 @@ test('Testing on volPyramid', () => {
2121} )
2222
2323test ( 'Testing on volCylinder' , ( ) => {
24- const volCylinder = volume . volCylinder ( 2 .0, 8.0 )
25- expect ( volCylinder ) . toBe ( 100.5310 )
24+ const volCylinder = volume . volCylinder ( 3 .0, 8.0 )
25+ expect ( volCylinder ) . toBe ( 226.19467 )
2626} )
2727
2828test ( 'Testing on volTriangularPrism' , ( ) => {
@@ -37,10 +37,10 @@ test('Testing on volPentagonalPrism', () => {
3737
3838test ( 'Testing on volSphere' , ( ) => {
3939 const volSphere = volume . volSphere ( 4.0 )
40- expect ( volSphere ) . toBe ( 268.0826 )
40+ expect ( volSphere ) . toBe ( 268.08257 )
4141} )
4242
4343test ( 'Testing on volHemisphere' , ( ) => {
4444 const volHemisphere = volume . volHemisphere ( 4.0 )
45- expect ( volHemisphere ) . toBe ( 134.0413 )
45+ expect ( volHemisphere ) . toBe ( 134.041285 )
4646} )
0 commit comments