diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-05-17 20:45:32 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-05-17 20:45:32 +0000 |
commit | f49378f9acb65b78ab29d89d37c644d0b203ebae (patch) | |
tree | f4a1a8a3c4cc2212ffba3c2e83c22367f77ef4d9 /test/unit | |
parent | 1703b160511396cd23be5203d9af86641b45766e (diff) |
Fixing an issue with LogicInfo::isPure() that turned off simplification in QF_UF and maybe others
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/theory/logic_info_white.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/unit/theory/logic_info_white.h b/test/unit/theory/logic_info_white.h index 77d18bd72..8bb3b52df 100644 --- a/test/unit/theory/logic_info_white.h +++ b/test/unit/theory/logic_info_white.h @@ -37,6 +37,7 @@ public: TS_ASSERT( !info.isQuantified() ); info.setLogicString("AUFLIA"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( info.isSharingEnabled() ); TS_ASSERT( info.isQuantified() ); TS_ASSERT( info.isTheoryEnabled( THEORY_ARRAY ) ); @@ -50,6 +51,7 @@ public: TS_ASSERT( !info.areRealsUsed() ); info.setLogicString("AUFLIRA"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( info.isSharingEnabled() ); TS_ASSERT( info.isQuantified() ); TS_ASSERT( info.isTheoryEnabled( THEORY_ARRAY ) ); @@ -63,6 +65,7 @@ public: TS_ASSERT( info.areRealsUsed() ); info.setLogicString("AUFNIRA"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( info.isSharingEnabled() ); TS_ASSERT( info.isQuantified() ); TS_ASSERT( info.isTheoryEnabled( THEORY_ARRAY ) ); @@ -76,6 +79,7 @@ public: TS_ASSERT( info.areRealsUsed() ); info.setLogicString("LRA"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( !info.isSharingEnabled() ); TS_ASSERT( info.isQuantified() ); TS_ASSERT( !info.isTheoryEnabled( THEORY_ARRAY ) ); @@ -90,6 +94,7 @@ public: TS_ASSERT( info.areRealsUsed() ); info.setLogicString("QF_ABV"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( !info.isQuantified() ); TS_ASSERT( info.isSharingEnabled() ); TS_ASSERT( info.isTheoryEnabled( THEORY_ARRAY ) ); @@ -228,6 +233,7 @@ public: TS_ASSERT( info.areRealsUsed() ); info.setLogicString("QF_UF"); + TS_ASSERT( !info.isPure( THEORY_BOOL ) ); TS_ASSERT( !info.isQuantified() ); TS_ASSERT( !info.isSharingEnabled() ); TS_ASSERT( !info.isTheoryEnabled( THEORY_ARRAY ) ); |