-
-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Milestone
Description
Apparently, the number of list elements has changed in these tests, but the parsing functionality seems to be unaffected:
sage -t --long --warn-long 86.7 --random-seed=66133510998005725882865822426008192085 src/sage/game_theory/parser.py
**********************************************************************
File "src/sage/game_theory/parser.py", line 75, in sage.game_theory.parser.Parser.format_lrs
Failed example:
lrs_output[:-2] # optional - lrslib
Expected:
[...,
'2 0 1 2 \n',
'1 1/2 1/2 -2 \n',
'\n',
'2 0 1 2 \n',
'1 0 1 -2 \n',
'\n',
'*Number of equilibria found: 2\n',
'*Player 1: vertices=3 bases=3 pivots=5\n',
'*Player 2: vertices=2 bases=1 pivots=6\n',
'\n']
Got:
['*lrsnash:lrslib v.7.0 2018.7.1(64bit,lrsgmp.h,hybrid arithmetic) gmp v.6.1\n',
'2 0 1 2 \n',
'1 1/2 1/2 -2 \n',
'\n',
'2 0 1 2 \n',
'1 0 1 -2 \n',
'\n',
'*Number of equilibria found: 2\n',
'*Player 1: vertices=3 bases=3 pivots=5\n',
'*Player 2: vertices=2 bases=1 pivots=6\n',
'\n',
'*lrsnash:lrslib v.7.0 2018.7.1(64bit,lrsgmp.h,hybrid arithmetic)\n']
Component: packages: optional
Keywords: lrslib
Author: Markus Wageringel
Branch/Commit: 9e7357e
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/33101