How do you write a test program in Java?
<p>I am a beginner programmer, and i really have no idea what is going in in my class most of the time. I am given this project to do,and I understand what is being asked but I have no idea how to write it. so here is the strategy all help is appreciated. I have the two panes set up for testing in Eclipse that's about it.</p>

<ol>
<li>checking for no arguments</li>
<li>checking for invalid arguments</li>
<li>checking valid arguments with no input</li>
<li>checking valid arguments with a line that matches</li>
<li>"" with a line that doesn't match</li>
<li>check valid argument with 2 lines</li>
</ol>

<p>with information similar to this</p>

<pre><code>rs3934834,1,1045729
</code></pre>

<p>Apparently we are supposed to read the line, check to see if the last number is between the first two in range and if so print it out.</p>

<p>Pseudo code:</p>

<pre><code>While more lines in standard input 
  read line
  break lines into name, chromosome, position
  if chromosome is same as c
  if position is in range
    then print
</code></pre>
