fUnit 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. data/README +16 -15
  2. data/Rakefile +1 -1
  3. data/bin/funit +1 -1
  4. data/docs/html/classes/Funit.html +20 -22
  5. data/docs/html/classes/Funit/Assertions.html +1 -1
  6. data/docs/html/classes/Funit/Compiler.html +3 -3
  7. data/docs/html/classes/Funit/TestSuite.html +43 -43
  8. data/docs/html/created.rid +1 -1
  9. data/docs/html/files/README.html +22 -25
  10. data/docs/html/files/lib/funit/assertions_rb.html +1 -1
  11. data/docs/html/files/lib/funit/functions_rb.html +1 -1
  12. data/docs/html/files/lib/funit/test_suite_rb.html +10 -1
  13. data/docs/html/files/lib/funit_rb.html +1 -1
  14. data/docs/html/fr_method_index.html +2 -2
  15. data/examples/CFD/{FluxFunctionsMT.ftk → FluxFunctions.fun} +1 -1
  16. data/examples/CFD/{GasModelMT.ftk → GasModel.fun} +1 -1
  17. data/examples/StopWatch/{StopWatchMT.ftk → StopWatch.fun} +0 -0
  18. data/lib/funit.rb +4 -6
  19. data/lib/funit/assertions.rb +1 -1
  20. data/lib/funit/functions.rb +20 -20
  21. data/lib/funit/test_suite.rb +43 -38
  22. data/tests/tc_compile.rb +7 -4
  23. data/tests/tc_fortran_deps.rb +3 -0
  24. data/tests/tc_funit.rb +30 -16
  25. data/tests/tc_test_suite.rb +29 -31
  26. metadata +4 -17
  27. data/examples/CFD/FluxFunctionsMT.f90 +0 -336
  28. data/examples/CFD/GasModelMT.f90 +0 -173
  29. data/examples/CFD/TestRunner +0 -0
  30. data/examples/CFD/TestRunner.f90 +0 -23
  31. data/examples/CFD/fluxfunctions.mod +0 -45
  32. data/examples/CFD/gammas.mod +0 -20
  33. data/examples/CFD/gasmodel.mod +0 -30
  34. data/examples/CFD/gasmodelmt.mod +0 -27
  35. data/examples/StopWatch/StopWatchMT.f90 +0 -343
  36. data/examples/StopWatch/TestRunner +0 -0
  37. data/examples/StopWatch/TestRunner.f90 +0 -23
  38. data/examples/StopWatch/stopwatch.mod +0 -34
  39. data/examples/StopWatch/stopwatchmt.mod +0 -27
@@ -1,23 +0,0 @@
1
- ! TestRunner.f90 - runs Fortran mobility test suites
2
- !
3
- ! [Dynamically generated by funit Ruby script Thu Apr 13 17:37:19 EDT 2006.]
4
-
5
- program TestRunner
6
-
7
- use StopWatchMT
8
-
9
- implicit none
10
-
11
- integer :: numTests, numAsserts, numAssertsTested, numFailures
12
-
13
- print *, ""
14
- print *, "StopWatch test suite:"
15
- call MTStopWatch( numTests, &
16
- numAsserts, numAssertsTested, numFailures )
17
- print *, "Passed", numAssertsTested, "of", numAsserts, &
18
- "possible asserts comprising", &
19
- numTests-numFailures, "of", numTests, "tests."
20
-
21
- print *, ""
22
-
23
- end program TestRunner
@@ -1,34 +0,0 @@
1
- G95 module created on Sun Apr 9 01:07:09 2006 from ./StopWatch.f90
2
- If you edit this, you'll get what you deserve.
3
-
4
- (() () () () () () () () () () () () () () () () () () () () ())
5
-
6
- ()
7
-
8
- ()
9
-
10
- ()
11
-
12
- ()
13
-
14
- (2 'secbetween' 'stopwatch' 1 ((PROCEDURE UNKNOWN MODULE-PROC DECL
15
- FUNCTION) (REAL 4 ()) 0 0 (3 NONE 4 NONE) () '' () ())
16
- 5 'secsincelast' 'stopwatch' 1 ((PROCEDURE UNKNOWN MODULE-PROC DECL
17
- FUNCTION) (REAL 4 ()) 0 0 () () '' () ())
18
- 6 'stopwatch' 'stopwatch' 1 ((MODULE UNKNOWN UNKNOWN UNKNOWN) (UNKNOWN 0
19
- ()) 0 0 () () '' () ())
20
- 7 'notinitialized' 'stopwatch' 1 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN) (
21
- LOGICAL 4 ()) 0 0 () () '' () ())
22
- 8 'last' 'stopwatch' 1 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN DIMENSION) (
23
- INTEGER 4 ()) 0 0 () (1 EXPLICIT (CONSTANT (INTEGER 4 ()) 0 '1') (
24
- CONSTANT (INTEGER 4 ()) 0 '8')) '' () ())
25
- 3 'begindnt' '' 9 ((VARIABLE IN UNKNOWN UNKNOWN DIMENSION DUMMY) (
26
- INTEGER 4 ()) 0 0 () (1 EXPLICIT (CONSTANT (INTEGER 4 ()) 0 '1') (
27
- CONSTANT (INTEGER 4 ()) 0 '8')) '' () ())
28
- 4 'enddnt' '' 9 ((VARIABLE IN UNKNOWN UNKNOWN DIMENSION DUMMY) (INTEGER
29
- 4 ()) 0 0 () (1 EXPLICIT (CONSTANT (INTEGER 4 ()) 0 '1') (CONSTANT (
30
- INTEGER 4 ()) 0 '8')) '' () ())
31
- )
32
-
33
- ('last' 0 8 'notinitialized' 0 7 'stopwatch' 0 6 'secsincelast' 0 5
34
- 'secbetween' 0 2)
@@ -1,27 +0,0 @@
1
- G95 module created on Sun Apr 9 01:07:09 2006 from ./StopWatchMT.f90
2
- If you edit this, you'll get what you deserve.
3
-
4
- (() () () () () () () () () () () () () () () () () () () () ())
5
-
6
- ()
7
-
8
- ()
9
-
10
- ()
11
-
12
- ()
13
-
14
- (2 'mtstopwatch' 'stopwatchmt' 1 ((PROCEDURE UNKNOWN MODULE-PROC DECL
15
- SUBROUTINE) (PROCEDURE 0 ()) 0 0 (3 NONE 4 NONE 5 NONE 6 NONE) () '' ()
16
- ())
17
- 3 'ntests' '' 7 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN DUMMY) (INTEGER 4 ())
18
- 0 0 () () '' () ())
19
- 4 'nasserts' '' 7 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN DUMMY) (INTEGER 4 ())
20
- 0 0 () () '' () ())
21
- 6 'nfailures' '' 7 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN DUMMY) (INTEGER 4
22
- ()) 0 0 () () '' () ())
23
- 5 'nassertstested' '' 7 ((VARIABLE UNKNOWN UNKNOWN UNKNOWN DUMMY) (
24
- INTEGER 4 ()) 0 0 () () '' () ())
25
- )
26
-
27
- ('mtstopwatch' 0 2)