Feature #10726 ยป update_test_set.rb.patch
test/test_set.rb | ||
---|---|---|
570 | 570 |
} |
571 | 571 |
end |
572 |
def test_power |
|
573 |
assert_equal(Set[1, 2].power, Set[Set[], Set[1], Set[2], Set[1, 2]]) |
|
574 |
assert_equal( |
|
575 |
Set[1, 2, 3].power, |
|
576 |
Set[Set[], Set[1], Set[2], Set[3], Set[1, 2], Set[2, 3], Set[3, 1], Set[1, 2, 3]] |
|
577 |
) |
|
578 |
end |
|
579 | ||
572 | 580 |
def test_taintness |
573 | 581 |
orig = set = Set[1,2,3] |
574 | 582 |
assert_equal false, set.tainted? |
575 |
- |