Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Shuffle directory structure a bit.

Moved the tests to the ChessTools/Test/ directory after thinking about
how the test suite is likely to develop. This should help avoid the need
for clunky naming to avoid module name clashes when importing (it won't
make the full import name any shorter, but it will be more descriptive
and obviously hierarchicaly).

Thus,
	TestBoard -> ChessTools.Test.Board, and
	Suite -> ChessTools.Test.Suite.

Necessary modifications made to the source so that the tests are still
all passing.
  • Loading branch information...
commit 5ce1058b39f13a92d98949c0fb7b307af0414700 1 parent 3fcfd82
Malcolm Tredinnick authored
2  test/TestBoard.hs → src/ChessTools/Test/Board.hs
... ... @@ -1,4 +1,4 @@
1   -module TestBoard
  1 +module ChessTools.Test.Board
2 2 where
3 3
4 4 import Control.Applicative ((<$>), (<*>))
2  test/Suite.hs → src/ChessTools/Test/Suite.hs
@@ -9,7 +9,7 @@
9 9 import Test.Framework (defaultMain, testGroup)
10 10 import Test.Framework.Providers.QuickCheck2 (testProperty)
11 11
12   -import TestBoard
  12 +import ChessTools.Test.Board
13 13
14 14
15 15 main = defaultMain tests

0 comments on commit 5ce1058

Please sign in to comment.
Something went wrong with that request. Please try again.