Filter: Minor formatting changes in test.conf
This commit is contained in:
parent
3c09af4169
commit
c68e8cd374
1 changed files with 5 additions and 5 deletions
|
@ -161,7 +161,7 @@ lclist ll2;
|
||||||
print "Community list (1,2) (3,1) (3,5) ", l, " len: ", l.len;
|
print "Community list (1,2) (3,1) (3,5) ", l, " len: ", l.len;
|
||||||
l = add( l, (3,2) );
|
l = add( l, (3,2) );
|
||||||
l = add( l, (4,5) );
|
l = add( l, (4,5) );
|
||||||
print "Community list (1,2) (3,1) (3,2) (3,5) (4,5) ", l, " len: ", l.len;
|
print "Community list (1,2) (3,1) (3,5) (3,2) (4,5) ", l, " len: ", l.len;
|
||||||
print "Should be true: ", l ~ [(*,2)], " ", l ~ [(*,5)], " ", l ~ [(*, one)];
|
print "Should be true: ", l ~ [(*,2)], " ", l ~ [(*,5)], " ", l ~ [(*, one)];
|
||||||
print "Should be false: ", l ~ [(*,3)], " ", l ~ [(*,(one+6))], " ", l ~ [(*, (one+one+one))];
|
print "Should be false: ", l ~ [(*,3)], " ", l ~ [(*,(one+6))], " ", l ~ [(*, (one+one+one))];
|
||||||
l = delete( l, [(*,(one+onef(3)))] );
|
l = delete( l, [(*,(one+onef(3)))] );
|
||||||
|
@ -176,7 +176,7 @@ lclist ll2;
|
||||||
print "clist B (3..6): ", l2;
|
print "clist B (3..6): ", l2;
|
||||||
print "clist A union B: ", add( l2, l );
|
print "clist A union B: ", add( l2, l );
|
||||||
print "clist A isect B: ", filter( l, l2 );
|
print "clist A isect B: ", filter( l, l2 );
|
||||||
print "clist A \ B: ", delete( l, l2 );
|
print "clist A \ B: ", delete( l, l2 );
|
||||||
|
|
||||||
el = -- empty --;
|
el = -- empty --;
|
||||||
el = add(el, (rt, 10, 20));
|
el = add(el, (rt, 10, 20));
|
||||||
|
@ -208,7 +208,7 @@ lclist ll2;
|
||||||
print "eclist B (30,40,50): ", el2;
|
print "eclist B (30,40,50): ", el2;
|
||||||
print "eclist A union B: ", add( el2, el );
|
print "eclist A union B: ", add( el2, el );
|
||||||
print "eclist A isect B: ", filter( el, el2 );
|
print "eclist A isect B: ", filter( el, el2 );
|
||||||
print "eclist A \ B: ", delete( el, el2 );
|
print "eclist A \ B: ", delete( el, el2 );
|
||||||
|
|
||||||
ll = --- empty ---;
|
ll = --- empty ---;
|
||||||
ll = add(ll, (ten, 20, 30));
|
ll = add(ll, (ten, 20, 30));
|
||||||
|
@ -232,10 +232,10 @@ lclist ll2;
|
||||||
ll2 = add(ll2, (40, 40, 40));
|
ll2 = add(ll2, (40, 40, 40));
|
||||||
|
|
||||||
print "lclist A (10,20,30): ", ll;
|
print "lclist A (10,20,30): ", ll;
|
||||||
print "lclist B (30,40,50): ", ll2;
|
print "lclist B (20,30,40): ", ll2;
|
||||||
print "lclist A union B: ", add(ll, ll2);
|
print "lclist A union B: ", add(ll, ll2);
|
||||||
print "lclist A isect B: ", filter(ll, ll2);
|
print "lclist A isect B: ", filter(ll, ll2);
|
||||||
print "lclist A \ B: ", delete(ll, ll2);
|
print "lclist A \ B: ", delete(ll, ll2);
|
||||||
|
|
||||||
# test_roa();
|
# test_roa();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue