@@ -143,6 +143,21 @@ def test_enummixed_rational(game: gbt.Game, mixed_strategy_prof_data: list):
143143 [[0.3333333333333333 , 0.6666666666666667 ], [1.0 , 0.0 ]]]],
144144 2 ,
145145 ),
146+ (
147+ games .create_entry_accomodation_efg (),
148+ [
149+ [[[0.6666666666666666 , 0.33333333333333337 ], [1.0 , 0.0 ], [1.0 , 0.0 ]],
150+ [[0.6666666666666666 , 0.33333333333333337 ]]],
151+ [[[0.0 , 1.0 ], [0.0 , 0.0 ], [0.3333333333333333 , 0.6666666666666667 ]], [[0.0 , 1.0 ]]],
152+ [[[0.0 , 1.0 ], [0.0 , 0.0 ], [1.0 , 0.0 ]], [[1.0 , 0.0 ]]],
153+ [[[0.0 , 1.0 ], [0.0 , 0.0 ], [0.0 , 0.0 ]], [[0.0 , 1.0 ]]]],
154+ 4 ,
155+ ),
156+ (
157+ games .create_non_zero_sum_lacking_outcome_efg (),
158+ [[[[0.33333333333333337 , 0.6666666666666666 ]], [[0.5 , 0.5 ]]]],
159+ 1 ,
160+ ),
146161 ],
147162)
148163def test_enumpoly_ordered_behavior (
@@ -358,21 +373,18 @@ def test_lcp_behavior_double():
358373 ),
359374 pytest .param (
360375 games .create_2x2_zero_sum_efg (missing_term_outcome = True ),
361- [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]],
362- marks = pytest .mark .xfail (reason = "Problem with missing terminal outcome in LP/LCP" )
376+ [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]
363377 ),
364378 (games .create_matching_pennies_efg (),
365379 [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]),
366380 pytest .param (
367381 games .create_matching_pennies_efg (with_neutral_outcome = True ),
368- [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]],
369- marks = pytest .mark .xfail (reason = "Problem with nonterminal nodes in LP/LCP" )
382+ [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]
370383 ),
371384 (games .create_stripped_down_poker_efg (), [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]]),
372385 pytest .param (
373386 games .create_stripped_down_poker_efg (nonterm_outcomes = True ),
374- [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]],
375- marks = pytest .mark .xfail (reason = "Problem with missing terminal outcome in LP/LCP" )
387+ [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]]
376388 ),
377389 (
378390 games .create_kuhn_poker_efg (),
@@ -400,8 +412,7 @@ def test_lcp_behavior_double():
400412 ["1/2" , "1/2" ],
401413 ],
402414 [[1 , 0 ], ["2/3" , "1/3" ], [0 , 1 ], [0 , 1 ], ["2/3" , "1/3" ], [1 , 0 ]],
403- ],
404- marks = pytest .mark .xfail (reason = "Problem with missing terminal outcome in LP/LCP" )
415+ ]
405416 ),
406417 # In the next test case:
407418 # 1/2-1/2 for l/r is determined by MixedBehaviorProfile.UndefinedToCentroid()
@@ -549,24 +560,21 @@ def test_lp_behavior_double():
549560 ),
550561 pytest .param (
551562 games .create_2x2_zero_sum_efg (missing_term_outcome = True ),
552- [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]],
553- marks = pytest .mark .xfail (reason = "Problem with missing terminal outcome in LP/LCP" )
563+ [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]
554564 ),
555565 (games .create_matching_pennies_efg (with_neutral_outcome = False ),
556566 [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]),
557567 pytest .param (
558568 games .create_matching_pennies_efg (with_neutral_outcome = True ),
559- [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]],
560- marks = pytest .mark .xfail (reason = "Problem with nonterminal nodes in LP/LCP" )
569+ [[["1/2" , "1/2" ]], [["1/2" , "1/2" ]]]
561570 ),
562571 (
563572 games .create_stripped_down_poker_efg (),
564573 [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]],
565574 ),
566575 pytest .param (
567576 games .create_stripped_down_poker_efg (nonterm_outcomes = True ),
568- [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]],
569- marks = pytest .mark .xfail (reason = "Problem with nonterminal nodes in LP/LCP" )
577+ [[[1 , 0 ], ["1/3" , "2/3" ]], [["2/3" , "1/3" ]]]
570578 ),
571579 (
572580 games .create_kuhn_poker_efg (),
@@ -587,8 +595,7 @@ def test_lp_behavior_double():
587595 [0 , 1 ],
588596 ],
589597 [[1 , 0 ], ["2/3" , "1/3" ], [0 , 1 ], [0 , 1 ], ["2/3" , "1/3" ], [1 , 0 ]],
590- ],
591- marks = pytest .mark .xfail (reason = "Problem with nonterminal nodes in LP/LCP" )
598+ ]
592599 ),
593600 (
594601 games .create_seq_form_STOC_paper_zero_sum_2_player_efg (),
0 commit comments