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

Function test_intersect

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

Source from the content-addressed store, hash-verified

3369
3370
3371def test_intersect():
3372 t1 = T(
3373 """
3374 | col
3375 1 | 11
3376 2 | 12
3377 3 | 13
3378 """
3379 )
3380 t2 = T(
3381 """
3382 | col
3383 2 | 11
3384 3 | 11
3385 4 | 11
3386 """
3387 )
3388
3389 assert_table_equality(
3390 t1.intersect(t2),
3391 T(
3392 """
3393 | col
3394 2 | 12
3395 3 | 13
3396 """
3397 ),
3398 )
3399
3400
3401def test_intersect_empty():

Callers

nothing calls this directly

Calls 2

TFunction · 0.90
intersectMethod · 0.80

Tested by

no test coverage detected