MCPcopy Index your code
hub / github.com/pathwaycom/pathway / test_intersect_many_tables

Function test_intersect_many_tables

python/pathway/tests/test_common.py:3419–3457  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3417
3418
3419def test_intersect_many_tables():
3420 t1 = T(
3421 """
3422 | col
3423 1 | 11
3424 2 | 12
3425 3 | 13
3426 4 | 14
3427 """
3428 )
3429 t2 = T(
3430 """
3431 | col
3432 2 | 11
3433 3 | 11
3434 4 | 11
3435 5 | 11
3436 """
3437 )
3438 t3 = T(
3439 """
3440 | col
3441 1 | 11
3442 3 | 11
3443 4 | 11
3444 5 | 11
3445 """
3446 )
3447
3448 assert_table_equality(
3449 t1.intersect(t2, t3),
3450 T(
3451 """
3452 | col
3453 3 | 13
3454 4 | 14
3455 """
3456 ),
3457 )
3458
3459
3460def test_intersect_no_columns():

Callers

nothing calls this directly

Calls 2

TFunction · 0.90
intersectMethod · 0.80

Tested by

no test coverage detected