Package com.singularsys.jeptests.unit.configurableparser

# Class TokenizerTest

java.lang.Object
com.singularsys.jeptests.unit.configurableparser.TokenizerTest

public class TokenizerTest extends Object
Tests for the tokenizer.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final boolean`
  `PRINT_RESULTS`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TokenizerTest()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `alphabeticOpsTest()`
  Tests operators with alphabet characters, such as the "OR" operator
  `void`
  `check(String str, String[] expected)`
  `void`
  `check(List<Token> tokens, Object[] expected)`
  `void`
  `check(List<Token> tokens, List<Token> expected)`
  `void`
  `checkComment(Token expected, Token actual)`
  `void`
  `checkIdentifier(Token expected, Token actual)`
  `void`
  `checkNumber(Token expected, Token actual)`
  `void`
  `checkOperator(Token expected, Token actual)`
  `void`
  `checkString(Token expected, Token actual)`
  `void`
  `checkWhiteSpace(Token expected, Token actual)`
  `void`
  `printTokenList(List<Token> tokens)`
  `void`
  `setUp()`
  `void`
  `testAltSymbols()`
  `void`
  `testEmptyEquations()`
  `void`
  `testExtended()`
  `void`
  `testIt()`
  `void`
  `testItN()`
  `void`
  `testLineNumbers()`
  `void`
  `testMultiLineComments()`
  `void`
  `testMultiLineWhiteSpace()`
  `void`
  `testScan()`
  `void`
  `testSemiColon()`
  `void`
  `testSemiColon2()`
  `void`
  `testTokens()`
  Tests individual tokens
  `void`
  `testTwoString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### PRINT_RESULTS

    public static final boolean PRINT_RESULTS

- ## Constructor Details

  - ### TokenizerTest

    public TokenizerTest()

- ## Method Details

  - ### checkIdentifier

    public void checkIdentifier(Token expected, Token actual)

  - ### checkNumber

    public void checkNumber(Token expected, Token actual)

  - ### checkString

    public void checkString(Token expected, Token actual)

  - ### checkComment

    public void checkComment(Token expected, Token actual)

  - ### checkWhiteSpace

    public void checkWhiteSpace(Token expected, Token actual)

  - ### checkOperator

    public void checkOperator(Token expected, Token actual)

  - ### check

    public void check(List<Token> tokens, List<Token> expected)

  - ### check

    public void check(List<Token> tokens, Object[] expected) throws ParseException
    Throws:
      `ParseException`

  - ### check

    public void check(String str, String[] expected) throws ParseException
    Throws:
      `ParseException`

  - ### setUp

    @BeforeEach public void setUp()

  - ### testTokens

    @Test public void testTokens() throws ParseException
    Tests individual tokens
    Throws:
      `ParseException`

  - ### testScan

    @Test public void testScan() throws ParseException
    Throws:
      `ParseException`

  - ### testIt

    @Test public void testIt()

  - ### testItN

    @Test public void testItN()

  - ### testMultiLineComments

    @Test public void testMultiLineComments() throws Exception
    Throws:
      `Exception`

  - ### testMultiLineWhiteSpace

    @Test public void testMultiLineWhiteSpace() throws Exception
    Throws:
      `Exception`

  - ### testSemiColon

    @Test public void testSemiColon() throws Exception
    Throws:
      `Exception`

  - ### testSemiColon2

    @Test public void testSemiColon2() throws Exception
    Throws:
      `Exception`

  - ### testExtended

    @Test public void testExtended() throws Exception
    Throws:
      `Exception`

  - ### alphabeticOpsTest

    @Test public void alphabeticOpsTest() throws Exception
    Tests operators with alphabet characters, such as the "OR" operator
    Throws:
      `Exception`

  - ### printTokenList

    public void printTokenList(List<Token> tokens)

  - ### testTwoString

    @Test public void testTwoString() throws Exception
    Throws:
      `Exception`

  - ### testEmptyEquations

    @Test public void testEmptyEquations() throws Exception
    Throws:
      `Exception`

  - ### testLineNumbers

    @Test public void testLineNumbers() throws Exception
    Throws:
      `Exception`

  - ### testAltSymbols

    @Test public void testAltSymbols() throws Exception
    Throws:
      `Exception`