Arithmetica.Tests.Tokenization.TokenTests.Token_Can_Identify_Operands C# (CSharp) Method

Token_Can_Identify_Operands() private method

private Token_Can_Identify_Operands ( ) : void
return void
        public void Token_Can_Identify_Operands()
        {
            Assert.IsTrue(new Token(TokenType.Numeric, 0D).IsOperand());
            Assert.IsTrue(new Token(TokenType.Variable, "x").IsOperand());
            Assert.IsFalse(new Token(TokenType.OpeningParenthesis, "(").IsOperand());
            Assert.IsFalse(new Token(TokenType.ClosingParenthesis, ")").IsOperand());
            Assert.IsFalse(new Token(TokenType.Addition, "+").IsOperand());
            Assert.IsFalse(new Token(TokenType.Subtraction, "-").IsOperand());
            Assert.IsFalse(new Token(TokenType.Multiplication, "*").IsOperand());
            Assert.IsFalse(new Token(TokenType.Division, "/").IsOperand());
            Assert.IsFalse(new Token(TokenType.Exponentiation, "^").IsOperand());
            Assert.IsFalse(new Token(TokenType.Negation, "-").IsOperand());
            Assert.IsFalse(new Token(TokenType.Function, "func").IsOperand());
        }