< Summary

Information
Class: GridForge.Diagnostics.GridDiagnosticEdge
Assembly: GridForge
File(s): /home/runner/work/GridForge/GridForge/src/GridForge/Diagnostics/GridDiagnosticEdge.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 33
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/Diagnostics/GridDiagnosticEdge.cs

#LineLine coverage
 1//=======================================================================
 2// GridDiagnosticEdge.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.Diagnostics;
 9
 10/// <summary>
 11/// Identifies a diagnostic prism edge by vertex indices.
 12/// </summary>
 13public readonly struct GridDiagnosticEdge
 14{
 15    /// <summary>
 16    /// Start vertex index.
 17    /// </summary>
 18    public readonly byte Start;
 19
 20    /// <summary>
 21    /// End vertex index.
 22    /// </summary>
 23    public readonly byte End;
 24
 25    /// <summary>
 26    /// Initializes a diagnostic edge descriptor.
 27    /// </summary>
 28    public GridDiagnosticEdge(byte start, byte end)
 29    {
 3630        Start = start;
 3631        End = end;
 3632    }
 33}

Methods/Properties

.ctor(System.Byte,System.Byte)