We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848635c commit 27f22d8Copy full SHA for 27f22d8
1 file changed
tests/PolylineAlgorithm.Tests/PolylineTest.cs
@@ -116,6 +116,24 @@ public void ToString_Returns_Correct_String(int size) {
116
Assert.AreEqual(expected, result);
117
}
118
119
+ /// <summary>
120
+ /// Tests the <see cref="Polyline.ToString"/> method.
121
+ /// </summary>
122
+ /// <param name="value">The string value.</param>
123
+ [TestMethod]
124
+ [DynamicData(nameof(LengthParameters))]
125
+ public void ToString_Returns_Empty_String(int size) {
126
+ // Arrange
127
+ Polyline polyline = new Polyline();
128
+ string expected = string.Empty;
129
+
130
+ // Act
131
+ string result = polyline.ToString();
132
133
+ // Assert
134
+ Assert.AreEqual(expected, result);
135
+ }
136
137
/// <summary>
138
/// Tests the <see cref="Polyline.ToCharArray"/> method.
139
/// </summary>
0 commit comments