Class InputTester

java.lang.Object
de.tum.in.test.api.io.InputTester

public final class InputTester
extends java.lang.Object
Can provide console input, and throws an exception if more is requested than is available. The provided lines get numbered.
Since:
0.1.0
Version:
1.0.1
Author:
Christian Femers
See Also:
IOTester
  • Constructor Summary

    Constructors 
    Constructor Description
    InputTester()  
  • Method Summary

    Modifier and Type Method Description
    void addLinesToInput​(java.lang.String... lines)  
    Line getNextLine()  
    boolean hasNextLine()  
    void reset()  

    Methods inherited from class java.lang.Object

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