Update DayInYear.cs #38
Annotations
1 error and 10 warnings
build
Process completed with exit code 1.
|
build:
tests/DateTimeExtensions.Tests/BEHolidaysTests.cs#L19
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ARSAWorkingDays.cs#L20
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ViHolidaysTests.cs#L71
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ARSAWorkingDays.cs#L22
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L35
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L38
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L41
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L49
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L20
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|
build:
tests/DateTimeExtensions.Tests/ChineseHolidaysTests.cs#L23
Consider using the constraint model, Assert.That(actual, Is.EqualTo(expected)), instead of the classic model, Assert.AreEqual(expected, actual) (https://github.com/nunit/nunit.analyzers/tree/master/documentation/NUnit2005.md)
|