< Summary

Line coverage
100%
Covered lines: 12
Uncovered lines: 0
Coverable lines: 12
Total lines: 34
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%
.ctor(...)100%11100%
.ctor(...)100%11100%
get_ResolutionU()100%11100%
get_ResolutionV()100%11100%

File(s)

https://raw.githubusercontent.com/JeremyAnsel/JeremyAnsel.Media.WavefrontObj/dbbfcd213b7c54f49194f82fcd56e790cca193c3/JeremyAnsel.Media.WavefrontObj/JeremyAnsel.Media.WavefrontObj/ObjConstantParametricSubdivisionTechnique.cs

#LineLine coverage
 1// <copyright file="ObjConstantParametricSubdivisionTechnique.cs" company="Jérémy Ansel">
 2// Copyright (c) 2017, 2019 Jérémy Ansel
 3// </copyright>
 4// <license>
 5// Licensed under the MIT license. See LICENSE.txt
 6// </license>
 7
 8namespace JeremyAnsel.Media.WavefrontObj
 9{
 10    [System.Diagnostics.DebuggerDisplay("ObjConstantParametricSubdivisionTechnique U:{ResolutionU} V:{ResolutionV}")]
 11    public class ObjConstantParametricSubdivisionTechnique : ObjApproximationTechnique
 12    {
 313        public ObjConstantParametricSubdivisionTechnique()
 14        {
 315        }
 16
 11717        public ObjConstantParametricSubdivisionTechnique(float u)
 18        {
 11719            this.ResolutionU = u;
 11720            this.ResolutionV = u;
 11721        }
 22
 12323        public ObjConstantParametricSubdivisionTechnique(float u, float v)
 24        {
 12325            this.ResolutionU = u;
 12326            this.ResolutionV = v;
 12327        }
 28
 55829        public float ResolutionU { get; set; }
 30
 45631        public float ResolutionV { get; set; }
 32    }
 33}
 34