| 1 | ### Subgraph dissection | 
|---|
| 2 |  | 
|---|
| 3 | AT_SETUP([Graph - subgraph dissection]) | 
|---|
| 4 | AT_KEYWORDS([graph subgraph-dissection]) | 
|---|
| 5 |  | 
|---|
| 6 | file=test.conf | 
|---|
| 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection/pre/test.conf $file], 0) | 
|---|
| 8 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore]) | 
|---|
| 9 | AT_CHECK([../../molecuilder -i $file  -v 3 -I], 0, [stdout], [stderr]) | 
|---|
| 10 | AT_CHECK([fgrep "I scanned 31 molecules." stdout], 0, [ignore], [ignore]) | 
|---|
| 11 |  | 
|---|
| 12 | AT_CLEANUP | 
|---|
| 13 |  | 
|---|
| 14 |  | 
|---|
| 15 | AT_SETUP([Graph - subgraph dissection with Undo]) | 
|---|
| 16 | AT_KEYWORDS([graph subgraph-dissection undo]) | 
|---|
| 17 |  | 
|---|
| 18 | file=test.conf | 
|---|
| 19 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection/pre/test.conf $file], 0) | 
|---|
| 20 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore]) | 
|---|
| 21 | AT_CHECK([../../molecuilder -i $file  -v 3 -I --undo], 0, [stdout], [stderr]) | 
|---|
| 22 | AT_CHECK([fgrep "I scanned 31 molecules." stdout], 0, [ignore], [ignore]) | 
|---|
| 23 |  | 
|---|
| 24 | AT_CLEANUP | 
|---|
| 25 |  | 
|---|
| 26 |  | 
|---|
| 27 | AT_SETUP([Graph - subgraph dissection with Redo]) | 
|---|
| 28 | AT_KEYWORDS([graph subgraph-dissection redo]) | 
|---|
| 29 |  | 
|---|
| 30 | file=test.conf | 
|---|
| 31 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Graph/SubgraphDissection/pre/test.conf $file], 0) | 
|---|
| 32 | AT_CHECK([chmod u+w $file], 0, [ignore], [ignore]) | 
|---|
| 33 | AT_CHECK([../../molecuilder -i $file  -v 3 -I --undo --redo], 0, [stdout], [stderr]) | 
|---|
| 34 | AT_CHECK([grep -c "I scanned 31 molecules." stdout], 0, [2 | 
|---|
| 35 | ], [ignore]) | 
|---|
| 36 |  | 
|---|
| 37 | AT_CLEANUP | 
|---|