(box)
| 6 | |
| 7 | |
| 8 | function getVerticeData(box) { |
| 9 | let vert = box.getVertices(); |
| 10 | vert = vert.map(function(v) { return [v.x, v.y, v.z]; }); |
| 11 | vert.length.should.eql(8); |
| 12 | return vert; |
| 13 | } |
| 14 | function add(v1,v2) { |
| 15 | return [v1[0]+v2[0],v1[1]+v2[1],v1[2]+v2[2]]; |
| 16 | } |
no outgoing calls
no test coverage detected