(a, b)
| 619 | //1、当鼠标点击在三叶草叶子内时,得到要素,调用高亮函数 |
| 620 | var innerCoors = [25.576171875, -27.158203125]; |
| 621 | var callback = function (a, b) { |
| 622 | expect(b).toNotBe(null); |
| 623 | expect(a.coordinate).toBe([25.576171875, -27.158203125]); |
| 624 | }; |
| 625 | graphicLayer.getSource()._forEachFeatureAtCoordinate(innerCoors, resolution, callback, evtPixel); |
| 626 | spyOn(graphicLayer, '_highLight'); |
| 627 | expect(graphicLayer.getSource()._highLight).toHaveBeenCalled(); |
no test coverage detected