< Summary

Information
Class: Syki.Back.Features.Academic.CreateCourseCurriculum.CreateCourseCurriculumRequestsExamples
Assembly: Back
File(s): /home/runner/work/syki/syki/Back/Features/Academic/CreateCourseCurriculum/CreateCourseCurriculumRequestsExamples.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 10
Coverable lines: 10
Total lines: 17
Line coverage: 0%
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
GetExamples()100%210%

File(s)

/home/runner/work/syki/syki/Back/Features/Academic/CreateCourseCurriculum/CreateCourseCurriculumRequestsExamples.cs

#LineLine coverage
 1namespace Syki.Back.Features.Academic.CreateCourseCurriculum;
 2
 3public class CreateCourseCurriculumRequestsExamples : IMultipleExamplesProvider<CreateCourseCurriculumIn>
 4{
 5    public IEnumerable<SwaggerExample<CreateCourseCurriculumIn>> GetExamples()
 6    {
 07        yield return SwaggerExample.Create(
 08      "Grade ADS - 1.0",
 09      new CreateCourseCurriculumIn
 010      {
 011        Name = "Grade ADS - 1.0",
 012        CourseId = Guid.NewGuid(),
 013        Disciplines = [new(Guid.NewGuid(), 1, 55, 70)]
 014      }
 015    );
 016    }
 17}

Methods/Properties

GetExamples()