New command 'testexact'.

This commit is contained in:
Alan Mishchenko 2018-01-04 22:35:11 -08:00
parent 834e248019
commit 7d781c37e8
1 changed files with 2 additions and 2 deletions

View File

@ -1301,7 +1301,7 @@ int Zyx_TestGetTruthTablePars( char * pFileName, word * pTruth, int * nVars, int
if ( !Abc_TtIsHexDigit(*pCur) )
break;
Symb = *pCur; *pCur = 0;
nLength = strlen(pBuffer);
nLength = (int)strlen(pBuffer);
if ( nLength == 1 )
*nVars = 2;
else if ( nLength == 2 )
@ -1368,7 +1368,7 @@ int Zyx_TestReadNode( char * pLine, Vec_Wrd_t * vTruths, int nVars, int nLutSize
return 0;
if ( (int)strlen(pLine) != 1 + nLutSize + (1 << nLutSize) )
{
printf( "Node representation has %d chars (expecting %d chars).\n", strlen(pLine), 1 + nLutSize + (1 << nLutSize) );
printf( "Node representation has %d chars (expecting %d chars).\n", (int)strlen(pLine), 1 + nLutSize + (1 << nLutSize) );
return 0;
}
if ( pLine[0] != 'A' + iObj )