Wiki Diff ReplaceTestCases, revision #1 to tip
<<TOC heading=yes>>
|= Condition |= Action |= Tested |
| | | |
=Special cases=
|= Condition |= Action |= Tested |
| ##(end_pos < 0 && start_pos <= seqlen)## | Concat | Yes |
| ##(start_pos > seqlen)## | Concat | Yes |
=Replacing start or all=
|= Condition 1 |= Condition 2 |= Condition 3 |= Condition 4 |= Action |= Tested |
| ##(start_pos < 2 )## | ##(end_pos == seqlen)## | ##IS_SEQUENCE( copy_from )## | | Replace target with copy_from | |
| | | ##!IS_SEQUENCE( copy_from )## | ##( IS_SEQUENCE( target ) && UNIQUE( SEQ_PTR(target) ) )## | | |
| | | | ##!( IS_SEQUENCE( target ) && UNIQUE( SEQ_PTR(target) ) )## | | |
| | ##( end_pos < 1 )## | | | Concat | |
=Special cases=
|= Condition |= Action |= Tested |
| ##(end_pos < 0 && start_pos <= seqlen)## | Concat | Yes |
| ##(start_pos > seqlen)## | Concat | Yes |
=Replacing start or all=
|= Condition 1 |= Condition 2 |= Condition 3 |= Condition 4 |= Action |= Tested |
| ##(start_pos < 2 )## | ##(end_pos == seqlen)## | ##IS_SEQUENCE( copy_from )## | | Replace target with copy_from | |
| | | ##!IS_SEQUENCE( copy_from )## | ##( IS_SEQUENCE( target ) && UNIQUE( SEQ_PTR(target) ) )## | | |
| | | | ##!( IS_SEQUENCE( target ) && UNIQUE( SEQ_PTR(target) ) )## | | |
| | ##( end_pos < 1 )## | | | Concat | |