testrus 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +20 -14
  2. data/lib/testrus/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -2,24 +2,30 @@
2
2
 
3
3
  Aids in testing your programs in informatics competitions.
4
4
 
5
- ## Installation
5
+ Install it with `gem install testrus`.
6
6
 
7
- Add this line to your application's Gemfile:
7
+ ## Usage
8
8
 
9
- gem 'testrus'
9
+ `testrus` looks for input and output file pairs in the directory you run it
10
+ from. E.g. if:
10
11
 
11
- And then execute:
12
+ ```bash
13
+ $ ls
14
+ input.1
15
+ input.2
16
+ output.1
17
+ output.2
18
+ ```
12
19
 
13
- $ bundle
20
+ You have two tests. The expected output is in the output file. To test your
21
+ program, simply run testrus from this directory with the command to run your
22
+ program, then the test data will be piped to your program via STDIN.
14
23
 
15
- Or install it yourself as:
24
+ If the runtime exceeds a second or the memory usage ever exceeds 64mb the test will
25
+ also appear failed.
16
26
 
17
- $ gem install testrus
27
+ ## Screenshots
18
28
 
19
- ## Contributing
20
-
21
- 1. Fork it
22
- 2. Create your feature branch (`git checkout -b my-new-feature`)
23
- 3. Commit your changes (`git commit -am 'Add some feature'`)
24
- 4. Push to the branch (`git push origin my-new-feature`)
25
- 5. Create new Pull Request
29
+ ![](http://i.imgur.com/kvhnt.png)
30
+ ![](http://i.imgur.com/9lFil.png)
31
+ ![](http://i.imgur.com/mWLDj.png)
@@ -1,3 +1,3 @@
1
1
  module Testrus
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testrus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: