Skip to content

N: Test Case Hierarchy Priority

VermillionAzure edited this page Jan 20, 2018 · 1 revision

The test cases mirror the source directory structure of Shaka Scheme. However, certain test cases will rely on certain facilities. It is important to identify which test cases rely on functionality that underlie other ones. Therefore, I will give an informal order of which test cases should compile first:

; Fundamental Boolean Data Type
core/base/test-Boolean.cpp

; Fundamental String-Based Data Types
core/base/test-Symbol.cpp
core/base/test-String-basic.cpp

; Fundamental Numeric Data Types
core/base/test-Integer.cpp
core/base/test-Rational.cpp
core/base/test-Complex.cpp

; Fundamental Numeric Data Type Interoperation
core/base/test-RationalComparison.cpp
core/base/test-RationalRealInterop.cpp
core/base/test-RationalComplexInterop.cpp
core/base/test-RealComplexInterop.cpp

; Fundamental Data Type Variant/Sum-Type
core/base/test-DataNode.cpp

; Run-time Symbol-Value Map/Environment
core/base/test-Environment.cpp

; Scheme-Hosted Procedure
core/base/test-Procedure.cpp

; Evaluation Strateg for Primitive Expression Define
core/eval/test-Eval-Define.cpp