Project

General

Profile

Feature #10726 » update_test_set.rb.patch

gogotanaka (Kazuki Tanaka), 01/10/2015 01:17 AM

View differences:

test/test_set.rb
}
end
def test_power
assert_equal(Set[1, 2].power, Set[Set[], Set[1], Set[2], Set[1, 2]])
assert_equal(
Set[1, 2, 3].power,
Set[Set[], Set[1], Set[2], Set[3], Set[1, 2], Set[2, 3], Set[3, 1], Set[1, 2, 3]]
)
end
def test_taintness
orig = set = Set[1,2,3]
assert_equal false, set.tainted?
-
(2-2/5)