< Summary

Information
Class: GridForge.Grids.Topology.GridDimensions
Assembly: GridForge
File(s): /home/runner/work/GridForge/GridForge/src/GridForge/Grids/Topology/GridDimensions.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 22
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%

File(s)

/home/runner/work/GridForge/GridForge/src/GridForge/Grids/Topology/GridDimensions.cs

#LineLine coverage
 1//=======================================================================
 2// GridDimensions.cs
 3//=======================================================================
 4// MIT License, Copyright (c) 2024–present David Oravsky (mrdav30)
 5// See LICENSE file in the project root for full license information.
 6//=======================================================================
 7
 8namespace GridForge.Grids.Topology;
 9
 10internal readonly struct GridDimensions
 11{
 12    public readonly int Width;
 13    public readonly int Height;
 14    public readonly int Length;
 15
 16    public GridDimensions(int width, int height, int length)
 17    {
 83618        Width = width;
 83619        Height = height;
 83620        Length = length;
 83621    }
 22}