public void GetSignTest_CorrectSign(ArithmeticSign sign, char expectedSign)
        {
            char actualSign = sign.GetSign();

            Assert.AreEqual(expectedSign, actualSign, $"Invalid sign received: {expectedSign}");
        }
Beispiel #2
0
 public static bool EqualsSign(this ArithmeticSign enumElement, char symbol)
 {
     return(symbol.Equals(enumElement.GetSign()));
 }