< Summary

Class:DCLServices.MapRendererV2.MapLayers.UsersMarkers.ColdArea.ExclusionArea
Assembly:MapRendererV2
File(s):/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/MapRendererV2/MapLayers/UsersMarkers/ColdArea/ExclusionArea.cs
Covered lines:0
Uncovered lines:1
Coverable lines:1
Total lines:13
Line coverage:0% (0 of 1)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:1
Method coverage:0% (0 of 1)

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity NPath complexity Sequence coverage
Contains(...)0%2100%

File(s)

/tmp/workspace/unity-renderer/unity-renderer/Assets/DCLServices/MapRendererV2/MapLayers/UsersMarkers/ColdArea/ExclusionArea.cs

#LineLine coverage
 1using UnityEngine;
 2
 3namespace DCLServices.MapRendererV2.MapLayers.UsersMarkers.ColdArea
 4{
 5    internal struct ExclusionArea
 6    {
 7        public Vector2Int Position;
 8        public int Radius;
 9
 10        public readonly bool Contains(in Vector2Int coords) =>
 011            (coords - Position).sqrMagnitude <= Radius * Radius;
 12    }
 13}