mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Change set intersection test to be correct
This commit is contained in:
parent
a23a4c7d66
commit
75e584cb73
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ remove element (PASS)
|
||||||
remove element (PASS)
|
remove element (PASS)
|
||||||
!in operator (PASS)
|
!in operator (PASS)
|
||||||
union (PASS)
|
union (PASS)
|
||||||
intersection (FAIL)
|
intersection (PASS)
|
||||||
difference (PASS)
|
difference (PASS)
|
||||||
difference (PASS)
|
difference (PASS)
|
||||||
union/inter. (PASS)
|
union/inter. (PASS)
|
||||||
|
|
|
@ -150,7 +150,7 @@ function basic_functionality()
|
||||||
local a_and_b = a & b;
|
local a_and_b = a & b;
|
||||||
|
|
||||||
test_case( "union", a_or_b == a_plus_b );
|
test_case( "union", a_or_b == a_plus_b );
|
||||||
test_case( "intersection", a_and_b == a_plus_b );
|
test_case( "intersection", a_and_b == a_also_b );
|
||||||
test_case( "difference", a - b == a_sans_b );
|
test_case( "difference", a - b == a_sans_b );
|
||||||
test_case( "difference", b - a == b_sans_a );
|
test_case( "difference", b - a == b_sans_a );
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue