test

Ruby code posted
created at 10 Mar 10:03

Edit | Back
1
2
3
4
5
6
7
  def test_izvedba_strela
    zacetek = @igra.stevilo_strelov
    @igra.hitrost = 1
    @igra.kot = 1
    @igra.strel
    assert_equal @igra.stevilo_strelov, zacetek+1
  end
174 Bytes in 2 ms with coderay