We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e066566 commit 36b1c51Copy full SHA for 36b1c51
tests/PolylineAlgorithm.DependencyInjection.Tests/ServiceCollectionExtensionsTests.cs
@@ -9,6 +9,20 @@ namespace PolylineAlgorithm.DependencyInjection.Tests {
9
public class ServiceCollectionExtensionsTests {
10
private static IServiceCollection Services { get; } = new ServiceCollection().AddPolylineAlgorithm();
11
12
+ [TestMethod]
13
+ public void Add_CoordinateValidator_Test() {
14
+ // Arrange
15
+ var provider = Services
16
+ .BuildServiceProvider();
17
+
18
+ // Act
19
+ var encoder = provider
20
+ .GetRequiredService<ICoordinateValidator>();
21
22
+ // Assert
23
+ Assert.IsInstanceOfType<ICoordinateValidator>(encoder);
24
+ }
25
26
[TestMethod]
27
public void Add_PolylineEncoder_Test() {
28
// Arrange
0 commit comments