fix tests for new table headers
@@ -60,9 +60,11 @@ def test_sp4():
d = n_mod_m(3, 2)
ip = ShannonPartition(d)
string = """\
-+----------+--------+
++---------------------+
+| Shannon Partition |
++-----------+---------+
| measure | bits |
-+----------+--------+
++-----------+---------+
| H[0|1,2] | 0.000 |
| H[1|0,2] | 0.000 |
| H[2|0,1] | 0.000 |
@@ -70,7 +72,7 @@ def test_sp4():
| I[0:2|1] | 1.000 |
| I[1:2|0] | 1.000 |
| I[0:1:2] | -1.000 |
-+----------+--------+"""
++-----------+---------+"""
assert str(ip) == string
@@ -81,9 +83,11 @@ def test_ep1():
d = n_mod_m(3, 2)
ep = ExtropyPartition(d)
string = """\
-+----------+--------+
++---------------------+
+| Extropy Partition |
++-----------+---------+
| measure | exits |
-+----------+--------+
++-----------+---------+
| X[0|1,2] | 0.000 |
| X[1|0,2] | 0.000 |
| X[2|0,1] | 0.000 |
@@ -91,7 +95,7 @@ def test_ep1():
| X[0:2|1] | 0.245 |
| X[1:2|0] | 0.245 |
| X[0:1:2] | 0.510 |
-+----------+--------+"""
++-----------+---------+"""
assert str(ep) == string
@@ -102,9 +106,11 @@ def test_dd1():
d = n_mod_m(3, 2)
ep = DependencyDecomposition(d, measures={'B': B})
string = """\
-+------------+--------+
++--------------------------+
+| Dependency Decomposition |
++---------------+----------+
| dependency | B |
-+------------+--------+
++---------------+----------+
| 012 | 2.000 |
| 01:02:12 | 0.000 |
| 01:02 | 0.000 |
@@ -114,7 +120,7 @@ def test_dd1():
| 02:1 | 0.000 |
| 12:0 | 0.000 |
| 0:1:2 | 0.000 |
-+------------+--------+"""
++---------------+----------+"""
assert str(ep) == string
