mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-19 17:48:43 +00:00
Filter: Minor formatting changes in test.conf
This commit is contained in:
parent
3c09af4169
commit
c68e8cd374
@ -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)))] );
|
||||||
@ -232,7 +232,7 @@ 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);
|
||||||
|
Loading…
Reference in New Issue
Block a user