Skip to content

Commit bad602d

Browse files
committed
added binary tree with 3 levels
1 parent deee14b commit bad602d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

tests/test_rsf.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,32 @@
8383
),
8484
],
8585
),
86+
# 2-player (zero-sum) game, binary tree, reduction for player 1, generic payoffs
87+
(
88+
games.read_from_file("binary_3_levels_generic_payoffs.efg"),
89+
[
90+
["11*", "12*", "2*1", "2*2"],
91+
["1", "2"],
92+
],
93+
[
94+
np.array(
95+
[
96+
[1, 3],
97+
[2, 4],
98+
[5, 7],
99+
[6, 8],
100+
]
101+
),
102+
np.array(
103+
[
104+
[-1, -3],
105+
[-2, -4],
106+
[-5, -7],
107+
[-6, -8],
108+
]
109+
),
110+
],
111+
),
86112
],
87113
)
88114
def test_reduced_strategic_form(

0 commit comments

Comments
 (0)