GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — JavaScript/Geometry/Test/Pyramid.test.js at master · Algorithms-Learn/JavaScript Expand file tree/ Copy pathPyramid.test.jsMore file actions 11 lines (8 loc) · 388 Bytes / Copy pathPyramid.test.jsFile metadata and controls11 lines (8 loc) · 388 Bytes 1 2 3 4 5 6 7 8 9 10 11 import Pyramid from '../Pyramid' const pyramid = new Pyramid(3, 5) test('The Volume of a cone with base radius equal to 3 and height equal to 5', () => { expect(parseFloat(pyramid.volume().toFixed(2))).toEqual(15) }) test('The Surface Area of a cone with base radius equal to 3 and height equal to 5', () => { expect(parseFloat(pyramid.surfaceArea().toFixed(2))).toEqual(40.32) }) |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |