LCOV - code coverage report
Current view: top level - maps/random/rmgen/placer/noncentered - MapBoundsPlacer.js (source / functions) Coverage Total Hit
Test: lcov.info Lines: 25.0 % 4 1
Test Date: 2026-11-22 03:02:19 Functions: 0.0 % 2 0

            Line data    Source code
       1              : /**
       2              :  * The MapBoundsPlacer returns all points on the tilemap that meet the constraint.
       3              :  */
       4              : function MapBoundsPlacer(failFraction = Infinity)
       5              : {
       6            0 :         const mapBounds = g_Map.getBounds();
       7            0 :         this.rectPlacer = new RectPlacer(new Vector2D(mapBounds.left, mapBounds.top), new Vector2D(mapBounds.right, mapBounds.bottom), failFraction);
       8              : }
       9              : 
      10            7 : MapBoundsPlacer.prototype.place = function(constraint)
      11              : {
      12            0 :         return this.rectPlacer.place(constraint);
      13              : };
        

Generated by: LCOV version 2.0-1