public void GetPriorityTest_CorrectJuniorPriority(ArithmeticSign signLoverPriority, ArithmeticSign signHigherPriority) { int actualLoverPriority = signLoverPriority.GetPriority(); int actualHigherPriority = signHigherPriority.GetPriority(); Assert.IsTrue(actualLoverPriority < actualHigherPriority, $"Sign priority: {signLoverPriority} < {actualHigherPriority}"); }
public void GetPriorityTest_CorrectEqualityPriority(ArithmeticSign signPriority, ArithmeticSign signPriorityOther) { int actualPriority = signPriority.GetPriority(); int actualPriorityOther = signPriorityOther.GetPriority(); Assert.IsTrue(actualPriority == actualPriorityOther, $"Sign priority: {signPriority} == {signPriorityOther}"); }