()
| 3399 | |
| 3400 | |
| 3401 | def test_intersect_empty(): |
| 3402 | t1 = T( |
| 3403 | """ |
| 3404 | | col |
| 3405 | 1 | 11 |
| 3406 | 2 | 12 |
| 3407 | 3 | 13 |
| 3408 | """ |
| 3409 | ) |
| 3410 | ret = t1.intersect() |
| 3411 | |
| 3412 | assert_table_equality( |
| 3413 | ret, |
| 3414 | t1, |
| 3415 | ) |
| 3416 | assert ret == t1 |
| 3417 | |
| 3418 | |
| 3419 | def test_intersect_many_tables(): |