-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Significant improvements on '\''Replace one-by-one'\'' and '\''Detail…
…ed hits'\''
- Loading branch information
Showing
145 changed files
with
769 additions
and
790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
r←Version | ||
⍝ See also `History` | ||
r←(1↓↑¯1↑⎕NPARTS⍕⎕THIS)'7.5.0.127' '2019-11-19' | ||
r←(1↓↑¯1↑⎕NPARTS⍕⎕THIS)'7.5.0.135' '2019-11-27' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
r←Initial_acre4 | ||
:If 0=⎕SE.⎕NC'acre' | ||
:Trap 0 ⋄ {}⎕SE.UCMD'acre.Projects' ⋄ :EndTrap | ||
:EndIf | ||
r←9=⎕SE.⎕NC'acre' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
r←IsAcre6OrBetter | ||
⍝ Returns a 1 in case acre 6 or better is available | ||
⍝ Used by some test cases in order to decide whether they should run or not. | ||
:If r←9=⎕SE.⎕NC'acre' | ||
:Trap 6 | ||
{}⎕SE.acre._code.Version ⍬ ⍝ This works just in acre 6 and later | ||
r←1 | ||
:Else | ||
r←0 | ||
:EndTrap | ||
:EndIf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Prepare | ||
##.Tester.EstablishHelpersIn ⎕THIS | ||
T←⎕NEW ##.Tester2 ⎕THIS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,130 +1,130 @@ | ||
R←Test_InternalMethods_001(stopFlag batchFlag);⎕TRAP;code;CR;ss | ||
⍝ Exercise Fire's "IsName" method. | ||
⎕TRAP←(999 'C' '. ⍝ Deliberate error')(0 'N') | ||
R←∆Failed | ||
R←T._Failed | ||
|
||
CR←⎕UCS 13 | ||
|
||
code←'name←''path2ride''' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'ride' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'ride' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'ride' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'ride' | ||
|
||
code←'Header;NL;A' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;NL;A;NL;NLNL' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'NL' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;⎕NL;A' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;X;Y;Z;',CR,'#.A.BB.C.NL.A←1' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;X;Y;Z;',CR,'BB.C.NL.A←1' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;X;Y;Z;',CR,'BB.C.NL←1' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;X;Y;Z;',CR,'⎕NL 3' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'Header;X;Y;Z;',CR,'NLNLNL←1' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code'NL' | ||
|
||
code←'#.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'Foo' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'Foo' | ||
|
||
ss←'.Foo' | ||
code←'#.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
ss←'Foo.' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
ss←'.Foo.' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code ss | ||
|
||
ss←'Fns' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code ss | ||
ss←'.Fns' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code ss | ||
ss←'Fns.' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
ss←'.Fns.' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code ss | ||
|
||
code←'#.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'#' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'#' | ||
|
||
code←'#.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'#.' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'#.' | ||
|
||
code←'#.Foo.This←#.Foo.Fns 2' | ||
|
||
code←'abc.cd.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'cd' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'cd' | ||
|
||
code←'abc.cd.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'abc' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'abc' | ||
|
||
code←'abc.cd.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'Foo' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'Foo' | ||
|
||
code←'abc.cd.Foo.⍙←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code(,'⍙') | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code(,'⍙') | ||
|
||
code←'abc.cd.Foo.⍙⍙←#.Foo.Fns 2' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'⍙') | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'⍙') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'⍙') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'⍙') | ||
|
||
code←'abc.cd.Foo.∆←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code(,'∆') | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code(,'∆') | ||
|
||
code←'abc.cd.∆∆.Foo←#.Foo.Fns 2' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'∆') | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'∆') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'∆') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'∆') | ||
|
||
code←'abc.cd.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'cd.Foo' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'cd.Foo' | ||
|
||
code←'##.##.Foo.This←#.Foo.Fns 2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'#.' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'##.##.' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'##.##' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'#.' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'##.##.' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'##.##' | ||
|
||
code←'vars←⎕SE.Foo←2' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
|
||
code←'vars←⎕SE.Foo←⎕SE.MyFns 2' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→FailsIf 2≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
→T.FailsIf 2≠⍴#.Fire.Fire.IsName code'⎕SE' | ||
|
||
code←'vars←⎕SE.Foo←⎕SE' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE.Foo' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE.Foo' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE.Foo' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕SE.Foo' | ||
|
||
code←'vars←⎕FREAD tno' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FREAD' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FREAD' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FREAD' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FREAD' | ||
|
||
code←'vars←⎕FOO tno' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FOO' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FOO' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FOO' | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code'⎕FOO' | ||
|
||
code←'f1' | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'f') | ||
→FailsIf~0∊⍴#.Fire.Fire.IsName code(,'f') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'f') | ||
→T.FailsIf~0∊⍴#.Fire.Fire.IsName code(,'f') | ||
|
||
code←'#.abc.de' | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code code | ||
→FailsIf 1≠⍴#.Fire.Fire.IsName code code | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code code | ||
→T.FailsIf 1≠⍴#.Fire.Fire.IsName code code | ||
|
||
R←∆OK | ||
R←T._OK |
Oops, something went wrong.