We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff2fe79 commit cd381b9Copy full SHA for cd381b9
2 files changed
Algorithms.Tests/Stack/InfixToPostfixTests.cs
@@ -64,7 +64,7 @@ public void InfixToPostfixConversion_MixedOperatorPrecedence_ReturnsCorrectPostf
64
{
65
// Arrange
66
string infix = "A+B*C";
67
-
+
68
// Act
69
string result = InfixToPostfix.InfixToPostfixConversion(infix);
70
Algorithms/Stack/InfixToPostfix.cs
@@ -1,4 +1,5 @@
1
using System;
2
+using System.Diagnostics.CodeAnalysis;
3
4
namespace Algorithms.Stack
5
@@ -197,6 +198,7 @@ private static void ValidatePostfix(string expr)
197
198
/// <param name="operatorChar"> Operator character whose precedence is asked.</param>
199
/// <returns>Precedence rank of parameter operator character.</returns>
200
/// </summary>
201
+ [ExcludeFromCodeCoverage]
202
private static int Precedence(char operatorChar)
203
204
if (operatorChar == '^')
0 commit comments