( set_operation )
Legend
| → | Has corresponding code |
| → | No direct match, but an alternative exists |
| → | No corresponding code |
| - | TODO |
| ( .. ) | Not localized |
| Example | Python pytest |
C++ GoogleTest |
Swift Testing |
Kotlin jUnit |
Bash bats |
|---|---|---|---|---|---|
| ( union ) | a | b | set_union(...) | - | - | - |
| ( union_destructive ) | a |= b | - | - | - | - |
| ( intersection ) | a & b | set_intersection(...) | - | - | - |
| ( difference ) | a - b | set_difference(...) | - | - | - |
| ( add ) | add() | insert() | - | - | - |
| ( is_subset ) | a.issubset(b) | std::includes(...) | - | - | - |