some testing material, not very good...

This commit is contained in:
Ward Wouts 2003-04-22 20:30:11 +00:00
parent 8982dadad1
commit 00ae547da2
2 changed files with 23 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,16 @@
#!/usr/local/bin/ruby
require '../newsrc.rb'
def test1
print "Test 1\n"
@newsrc = News::Newsrc.new("newsrc.news.wizeazz.nl")
print @newsrc.get_articles("alt.binaries.sounds.mp3.gothic-industrial")
print "\n"
@newsrc.unmark_range("alt.binaries.sounds.mp3.gothic-industrial", 0, 2394540)
print @newsrc.get_articles("alt.binaries.sounds.mp3.gothic-industrial")
print "\n"
end
test1