Change set intersection test to be correct

This commit is contained in:
Yacin Nadji 2021-11-03 14:21:02 -04:00
parent a23a4c7d66
commit 75e584cb73
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ remove element (PASS)
remove element (PASS)
!in operator (PASS)
union (PASS)
intersection (FAIL)
intersection (PASS)
difference (PASS)
difference (PASS)
union/inter. (PASS)

View file

@ -150,7 +150,7 @@ function basic_functionality()
local a_and_b = a & 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", b - a == b_sans_a );