aboutsummaryrefslogtreecommitdiff
path: root/doc/listings
diff options
context:
space:
mode:
Diffstat (limited to 'doc/listings')
-rw-r--r--doc/listings/test.sh2
-rw-r--r--doc/listings/testOutput.txt28
2 files changed, 30 insertions, 0 deletions
diff --git a/doc/listings/test.sh b/doc/listings/test.sh
new file mode 100644
index 0000000..b929249
--- /dev/null
+++ b/doc/listings/test.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+coverage run --source=imago -m unittest discover tests/ && coverage report -m --skip-empty
diff --git a/doc/listings/testOutput.txt b/doc/listings/testOutput.txt
new file mode 100644
index 0000000..2bfa52f
--- /dev/null
+++ b/doc/listings/testOutput.txt
@@ -0,0 +1,28 @@
+Name Stmts Miss Cover Missing
+-------------------------------------------------------------------------------
+imago/data/enums.py 17 0 100%
+imago/engine/core.py 39 39 0% 3-68
+imago/engine/createDecisionAlgorithm.py 11 11 0% 3-21
+imago/engine/decisionAlgorithm.py 9 4 56% 6, 10, 14, 18
+imago/engine/imagoIO.py 105 105 0% 3-186
+imago/engine/keras/convNeuralNetwork.py 12 12 0% 3-54
+imago/engine/keras/denseNeuralNetwork.py 12 12 0% 3-40
+imago/engine/keras/initialDenseNeuralNetwork.py 11 11 0% 3-28
+imago/engine/keras/keras.py 28 28 0% 3-49
+imago/engine/keras/neuralNetwork.py 137 137 0% 3-206
+imago/engine/monteCarlo.py 107 78 27% 17-24, 32-35, 41-49, 53-54, 71, 77-79, 84-88, 92-93, 110-125, 129-130, 136-140, 144-156, 162-182, 186-187
+imago/engine/parseHelpers.py 48 0 100%
+imago/gameLogic/gameBoard.py 199 55 72% 115, 128, 136-139, 177, 188, 192, 202, 211-212, 216, 224, 228, 230, 235-241, 267-274, 278-303, 307-311
+imago/gameLogic/gameData.py 24 24 0% 3-51
+imago/gameLogic/gameMove.py 93 29 69% 21, 27, 33-35, 51-56, 73, 91, 117, 121-125, 130-133, 137-141, 145
+imago/gameLogic/gameState.py 42 22 48% 17-21, 25, 29, 38, 43-49, 53, 57, 61, 66-71
+imago/scripts/monteCarloSimulation.py 17 17 0% 3-25
+imago/sgfParser/astNode.py 125 125 0% 1-156
+imago/sgfParser/parsetab.py 18 18 0% 5-28
+imago/sgfParser/sgf.py 6 6 0% 3-13
+imago/sgfParser/sgflex.py 31 31 0% 5-71
+imago/sgfParser/sgfyacc.py 41 41 0% 5-71
+-------------------------------------------------------------------------------
+TOTAL 1132 805 29%
+
+8 empty files skipped.