source: proto/pabloj/trunk/input/test/visitors/CarryCounterVisitor/carryCounter.pablos @ 2834

Last change on this file since 2834 was 2834, checked in by ksherdy, 6 years ago

Migrated pablo to pabloj/trunk.

File size: 673 bytes
Line 
1function void Test() {
2        var stream temp;
3        var stream C = 0;
4        var stream X = 0;
5        var stream R = 0;
6       
7        R = Advance(X);
8        R = pablo.Advance(X);
9
10        R = ScanToFirst(X);
11        R = pablo.ScanToFirst(X);
12
13        R = ScanThru(C,X);
14        R = pablo.ScanThru(C,X);
15
16        R = ScanTo(C,X);
17        R = pablo.ScanTo(C,X);
18
19        R = AdvanceThenScanThru(C,X);
20        R = pablo.AdvanceThenScanThru(C,X);
21                       
22        R = AdvanceThenScanTo(C,X);
23        R = pablo.AdvanceThenScanTo(C,X);
24
25        R = SpanUpTo(C,X);
26        R = pablo.SpanUpTo(C,X);
27                       
28        R = InclusiveSpan(C,X);
29        R = pablo.InclusiveSpan(C,X);                   
30
31        R = ExclusiveSpan(C,X);
32        R = pablo.ExclusiveSpan(C,X);                   
33       
34        // do not count, Advance N calls
35        R = Advance(X,2);
36        R = pablo.Advance(X,10);
37       
38       
39}
Note: See TracBrowser for help on using the repository browser.