gmarokov/dotnet-trx2sonar

View on GitHub
TrxToSonarTest/UtilsTests.cs

Summary

Maintainability
A
0 mins
Test Coverage
using TrxToSonar;
using Xunit;

namespace TrxToSonarTest
{
    public class UtilsTests
    {
        [Fact]
        public void TrxDurationShouldBeConverted()
        {
            long sonarDuration = Utils.ToSonarDuration("00:00:00.0090000");
            Assert.Equal(9, sonarDuration);
        }
    }
}