File tree 7 files changed +35
-6
lines changed
7 files changed +35
-6
lines changed Original file line number Diff line number Diff line change
1
+ source :rubygems
2
+
3
+ group :test do
4
+ gem 'rake'
5
+ end
Original file line number Diff line number Diff line change
1
+ GEM
2
+ remote: http://rubygems.org/
3
+ specs:
4
+ rake (0.9.2.2 )
5
+
6
+ PLATFORMS
7
+ ruby
8
+
9
+ DEPENDENCIES
10
+ rake
Original file line number Diff line number Diff line change
1
+ require 'rake/testtask'
2
+
3
+ Rake ::TestTask . new do |t |
4
+ t . test_files = FileList [ "test/test_*.rb" ]
5
+ end
Original file line number Diff line number Diff line change 1
- require 'test/typhontest'
2
- require 'lib/typhon/compiler'
1
+ # encoding : utf-8
2
+ $LOAD_PATH. unshift File . expand_path ( "./" , File . dirname ( __FILE__ ) )
3
+ $LOAD_PATH. unshift File . expand_path ( "../lib/typhon/" , File . dirname ( __FILE__ ) )
4
+ require 'typhontest'
5
+ require 'compiler'
3
6
4
7
class TC_Compiler < Test ::Unit ::TestCase
5
8
def test_push
Original file line number Diff line number Diff line change
1
+ # encoding : utf-8
1
2
$LOAD_PATH. unshift File . expand_path ( "../lib" , File . dirname ( __FILE__ ) )
2
- require 'lib/typhon'
3
- require 'test/typhontest'
3
+ $LOAD_PATH. unshift File . expand_path ( "./" , File . dirname ( __FILE__ ) )
4
+ require 'typhon'
5
+ require 'typhontest'
4
6
5
7
class TC_Typhon < Test ::Unit ::TestCase
6
8
def test_push
Original file line number Diff line number Diff line change 1
- require 'test/typhontest'
2
- require 'lib/typhon/vm'
1
+ # encoding : utf-8
2
+ $LOAD_PATH. unshift File . expand_path ( "./" , File . dirname ( __FILE__ ) )
3
+ $LOAD_PATH. unshift File . expand_path ( "../lib/typhon/" , File . dirname ( __FILE__ ) )
4
+ require 'typhontest'
5
+ require 'vm'
3
6
4
7
class TC_VM < Test ::Unit ::TestCase
5
8
def test_push
Original file line number Diff line number Diff line change
1
+ # encoding : utf-8
1
2
require 'test/unit'
2
3
3
4
module TyphonTest
You can’t perform that action at this time.
0 commit comments