diff options
Diffstat (limited to 'testes/all.lua')
| -rw-r--r-- | testes/all.lua | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testes/all.lua b/testes/all.lua index 72121e8d..bf27f106 100644 --- a/testes/all.lua +++ b/testes/all.lua | |||
| @@ -37,8 +37,6 @@ end | |||
| 37 | -- tests should require debug when needed | 37 | -- tests should require debug when needed |
| 38 | debug = nil | 38 | debug = nil |
| 39 | 39 | ||
| 40 | require"bwcoercion" | ||
| 41 | |||
| 42 | 40 | ||
| 43 | if usertests then | 41 | if usertests then |
| 44 | T = nil -- no "internal" tests for user tests | 42 | T = nil -- no "internal" tests for user tests |
| @@ -46,7 +44,6 @@ else | |||
| 46 | T = rawget(_G, "T") -- avoid problems with 'strict' module | 44 | T = rawget(_G, "T") -- avoid problems with 'strict' module |
| 47 | end | 45 | end |
| 48 | 46 | ||
| 49 | math.randomseed(0) | ||
| 50 | 47 | ||
| 51 | --[=[ | 48 | --[=[ |
| 52 | example of a long [comment], | 49 | example of a long [comment], |
| @@ -54,6 +51,14 @@ math.randomseed(0) | |||
| 54 | 51 | ||
| 55 | ]=] | 52 | ]=] |
| 56 | 53 | ||
| 54 | print("\n\tStarting Tests") | ||
| 55 | |||
| 56 | do | ||
| 57 | -- set random seed | ||
| 58 | local random_x, random_y = math.randomseed() | ||
| 59 | print(string.format("random seeds: %d, %d", random_x, random_y)) | ||
| 60 | end | ||
| 61 | |||
| 57 | print("current path:\n****" .. package.path .. "****\n") | 62 | print("current path:\n****" .. package.path .. "****\n") |
| 58 | 63 | ||
| 59 | 64 | ||
