1 testing UnitTests define: #Sequence &parents: {TestCase}.
3 tc@(UnitTests Sequence traits) testCopyReplaceAll
6 s2 := s1 copyReplaceAll: 's' with: 'S'.
7 tc assert: (s2 = 'Slate').
9 s2 := s1 copyReplaceAll: 'e' with: 'ed'.
10 tc assert: (s2 = 'slated').
13 s2 := s1 copyReplaceAll: 'SlSl' with: 'Sl'.
14 tc assert: (s2 = 'Slate').
17 s2 := (s1 copyReplaceAll: 'e' with: 'a') copyReplaceAll: 'ta' with: 'te'.
18 tc assert: (s2 = 'Slate').
21 tc@(UnitTests Sequence traits) suite
22 [tc suiteForSelectors: {