clearer organization for compiler tests
was slightly messy with small/large now needed different test for expression and statements
This commit is contained in:
parent
0c8be466df
commit
2094101bb2
test
compiler
expressions
code_checker.rbcompiler_helper.rbtest_all.rbtest_basic.rbtest_call.rbtest_field_access.rbtest_function.rb
fragments
helper.rbtest_all.rbtest_class.rbtest_foo.rbtest_functions.rbtest_hello.rbtest_if.rbtest_methods.rbtest_putint.rbtest_recursive_fibo.rbtest_while_fibo.rb
statements
test_all.rb@ -1,4 +1,4 @@
|
||||
require_relative '../helper'
|
||||
require_relative '../../helper'
|
||||
require 'parslet/convenience'
|
||||
|
||||
Phisol::Compiler.class_eval do
|
4
test/compiler/expressions/test_all.rb
Normal file
4
test/compiler/expressions/test_all.rb
Normal file
@ -0,0 +1,4 @@
|
||||
require_relative "test_basic"
|
||||
require_relative "test_call"
|
||||
require_relative "test_field_access"
|
||||
require_relative "test_function"
|
@ -1,4 +1,4 @@
|
||||
require_relative '../helper'
|
||||
require_relative '../../helper'
|
||||
|
||||
# simple tests to check parsing pworks and the first classes come out right.
|
||||
#
|
0
test/compiler/statements/test_all.rb
Normal file
0
test/compiler/statements/test_all.rb
Normal file
@ -1,4 +1,5 @@
|
||||
require_relative "test_basic"
|
||||
require_relative "test_call"
|
||||
require_relative "test_field_access"
|
||||
require_relative "test_function"
|
||||
require_relative "expressions/test_all"
|
||||
|
||||
require_relative "statements/test_all"
|
||||
|
||||
require_relative "fragments/test_all"
|
||||
|
@ -4,8 +4,6 @@ require_relative "elf/test_all"
|
||||
|
||||
require_relative "parfait/test_all"
|
||||
|
||||
require_relative "fragments/test_all"
|
||||
|
||||
require_relative "virtual/test_all"
|
||||
|
||||
require_relative "interpreter/test_all"
|
||||
|
Loading…
x
Reference in New Issue
Block a user