| 1 |
writeInfoLine: "PairDistribution" |
| 2 |
|
| 3 |
Read from file: "test.PairDistribution" |
| 4 |
|
| 5 |
numberOfPairs = Get number of pairs |
| 6 |
assert numberOfPairs = 117 |
| 7 |
|
| 8 |
string1$ = Get string1: 100 |
| 9 |
assert string1$ = "|cvc.cv:.cv.cv|" |
| 10 |
string2$ = Get string2: 100 |
| 11 |
assert string2$ = "[cvc1.cv:.cv2.cv] \-> /(cV1C.cVV).(cV2.cV)/" |
| 12 |
|
| 13 |
# |
| 14 |
# On 3 July 2018, the following checked that std::swap() |
| 15 |
# swapped two autostring32 objects correctly: |
| 16 |
# |
| 17 |
|
| 18 |
Swap inputs and outputs |
| 19 |
|
| 20 |
string1$ = Get string1: 100 |
| 21 |
assert string1$ = "[cvc1.cv:.cv2.cv] \-> /(cV1C.cVV).(cV2.cV)/" |
| 22 |
string2$ = Get string2: 100 |
| 23 |
assert string2$ = "|cvc.cv:.cv.cv|" |
| 24 |
|
| 25 |
# |
| 26 |
|
| 27 |
Remove |
| 28 |
|
| 29 |
appendInfoLine: "OK" |