Neil Brown
|
c2c6bf24f8
|
Changed the QuickCheck flow-graph generators to generate a Process as the top level, rather than Structured, to make the test input more interesting
|
2008-01-30 18:57:00 +00:00 |
|
Neil Brown
|
0dc4b81be8
|
Corrected the item count for replicators in the QuickCheck FlowGraph tests
|
2008-01-30 18:56:33 +00:00 |
|
Neil Brown
|
45a8fa0b88
|
Added handling of sequential replicators when building the flow graph
|
2008-01-30 13:50:53 +00:00 |
|
Neil Brown
|
7c811f347c
|
Added a couple of tests for sequential replicators
|
2008-01-30 13:50:28 +00:00 |
|
Neil Brown
|
b6132d6431
|
Added replicators to the flow graphs generated for the QuickCheck tests
|
2008-01-30 13:50:07 +00:00 |
|
Neil Brown
|
e94826c64e
|
Added a function to GraphLabelFuncs for labelling replicators
|
2008-01-30 12:43:28 +00:00 |
|
Neil Brown
|
95d99706e3
|
Readjusted the parameters of flowAlgorithm so that the initial value for the starting node is passed in more obviously (since that was the only use of initVal, which has now been removed)
|
2008-01-29 21:05:37 +00:00 |
|
Neil Brown
|
28fd400d89
|
Adjusted the FlowGraph tests to check the roots of the graph, and added in the new root nodes where appropriate
|
2008-01-29 20:06:33 +00:00 |
|
Neil Brown
|
12b1617fec
|
Added a new labelling function to FlowGraph for labelling the arguments of functions/processes
|
2008-01-29 20:05:38 +00:00 |
|
Neil Brown
|
5567d8cee0
|
Changed FlowGraph to keep a record of all the root nodes in the tree and return them in a list
|
2008-01-29 12:46:14 +00:00 |
|
Neil Brown
|
0a1270f109
|
Corrected a comment in FlowAlgorithms
|
2008-01-29 12:44:06 +00:00 |
|
Neil Brown
|
78a29de1d4
|
Added a couple of notes about replicators
|
2008-01-28 17:36:43 +00:00 |
|
Neil Brown
|
edc3a7e910
|
Removed the die function (that has no source position) and as far as possible replaced all its uses with dieP and a valid position
|
2008-01-28 17:21:13 +00:00 |
|
Neil Brown
|
f03702d937
|
Added an automatically-generated OrdAST module that provides an ordering for AST elements, ignoring Meta tags
|
2008-01-28 15:23:53 +00:00 |
|
Neil Brown
|
0f085b8d81
|
Added Ord instances for all simple types (all no-argument constructors) in the AST module
|
2008-01-28 15:22:58 +00:00 |
|
Neil Brown
|
7a30a2ceb5
|
Moved the usageCheckPass function into the new Check module
|
2008-01-28 13:15:36 +00:00 |
|
Neil Brown
|
4a8653cc41
|
Added the monads to the export list of ShowCode
|
2008-01-27 23:47:41 +00:00 |
|
Neil Brown
|
bc3ad29fed
|
Added code to build the flow graph for procs and functions in specifications
|
2008-01-26 18:54:40 +00:00 |
|
Neil Brown
|
9dfa1611e0
|
Added various 4 and 5 parameter versions of the routing functions for building AST-modifying functions
|
2008-01-26 18:49:36 +00:00 |
|
Neil Brown
|
7c4b87e221
|
Added tests for proc specifications in FlowGraphTest and correctly an earlier test to not use an undefined specification
|
2008-01-26 18:48:49 +00:00 |
|
Neil Brown
|
3548167a83
|
Changed the testGraph function in FlowGraphTest to add a variant that takes an A.Structured directly
|
2008-01-26 18:48:09 +00:00 |
|
Neil Brown
|
41fb90dc33
|
Added labels to the tests in FlowGraphTest
|
2008-01-26 18:46:16 +00:00 |
|
Neil Brown
|
bdda623d7e
|
Added types to all the cases where the monomorhpism restriction applied
|
2008-01-26 20:51:11 +00:00 |
|
Neil Brown
|
741a01de5a
|
Removed various tab characters and replaced them with spaces
|
2008-01-26 19:38:24 +00:00 |
|
Neil Brown
|
178af1ca24
|
Changed the array usage checking to distinguish between read-from and written-to indexes, while also beginning to overhaul the system to make a more general usage-checking framework that operates on the control flow graph
|
2008-01-25 16:17:17 +00:00 |
|
Neil Brown
|
86b8185b1f
|
Added a few more helper functions to the Utils module
|
2008-01-25 16:12:20 +00:00 |
|
Neil Brown
|
d2b427c268
|
Added some comments to the FlowGraph module
|
2008-01-25 15:58:32 +00:00 |
|
Neil Brown
|
75dd2afeb2
|
Added support for timing tests in the automatic test cases
|
2008-01-23 15:23:26 +00:00 |
|
Neil Brown
|
d1fa9fd71f
|
Added a helper function for timing tasks in the TestUtils module
|
2008-01-23 15:23:00 +00:00 |
|
Neil Brown
|
9c9295fd74
|
Added the filename of an automatic test as its test-label
|
2008-01-22 22:42:29 +00:00 |
|
Neil Brown
|
fde2d8dc17
|
Changed the assertEquivalentProblems so that the sizes are displayed alongside the zipped lists
|
2008-01-16 16:25:57 +00:00 |
|
Neil Brown
|
a14a866502
|
Changed the test harness to get some tests inside the IO monad. This allows all the tests to be run, not just until the first failure
|
2008-01-16 11:15:05 +00:00 |
|
Neil Brown
|
9edc9fea78
|
Added a TestHarness module that easily allows full-compilation tests from external source files
|
2008-01-16 03:27:47 +00:00 |
|
Neil Brown
|
5988684c00
|
Moved the Pass list from Main to its own module (PassList) and included the usage-checking pass (when the appropriate option is turned on)
|
2008-01-16 03:26:20 +00:00 |
|
Neil Brown
|
b8e4864d08
|
Added an option for usage-checking to the CompState; currently turned off by default
|
2008-01-16 03:24:25 +00:00 |
|
Neil Brown
|
fa7ec6d407
|
Added a helper function (assertEqualCustomShow) to the TestUtils module
|
2008-01-15 18:09:49 +00:00 |
|
Neil Brown
|
d3fca1d610
|
Moved showMaybe to the Utils module and added a similar showListCustom function
|
2008-01-15 18:08:56 +00:00 |
|
Neil Brown
|
8cfa9e3cb0
|
Added a new helper function to Utils (transformTriple)
|
2008-01-15 17:05:45 +00:00 |
|
Neil Brown
|
8f1d1368af
|
Stopped makeEquations unnecessarily producing duplicate equations
|
2007-12-17 02:22:09 +00:00 |
|
Neil Brown
|
91bfa4ae54
|
Added more helper functions to the Utils module, for dealing with arrays and maps
|
2007-12-17 02:08:37 +00:00 |
|
Neil Brown
|
140bd94ce3
|
Added various (QuickCheck) Result helper functions to the TestUtils module
|
2007-12-13 23:51:49 +00:00 |
|
Neil Brown
|
8d89a88735
|
Added a couple more functions to the Utils module
|
2007-12-13 23:51:11 +00:00 |
|
Neil Brown
|
26dd2fa5c4
|
Renamed the TestUtil and TreeUtil modules to TestUtils and TreeUtils, to be consistent with the Utils module
|
2007-12-13 19:05:29 +00:00 |
|
Neil Brown
|
337f189b8a
|
Separated the QuickCheck tests from the HUnit tests and made the number of test-cases configurable for the QuickCheck tests
|
2007-12-13 18:21:53 +00:00 |
|
Neil Brown
|
54721cd19b
|
Added some QuickCheck helper functions and types to TestUtil
|
2007-12-13 18:19:02 +00:00 |
|
Neil Brown
|
b39fa8053b
|
Added two more monadic helper functions to the Utils module
|
2007-12-12 13:50:55 +00:00 |
|
Neil Brown
|
a196b53e9e
|
Added more helper functions (mostly Array-related) to the Utils module
|
2007-12-11 16:49:50 +00:00 |
|
Neil Brown
|
905e110e86
|
Added a function to FlowGraph for joining two sets of graph labelling functions together
|
2007-12-10 15:45:06 +00:00 |
|
Neil Brown
|
7ea3d2a7f9
|
Added an @@ operator for Named patterns, like in the Tock presentation
|
2007-11-21 14:25:32 +00:00 |
|
Douglas Warren
|
1d83167c01
|
Fixed some haddock parsing problems in the documentation
|
2007-11-14 16:26:47 +00:00 |
|