示例#1
0
def test_string_method_for_nonstring():
    v = Value(3)
    try:
        v.should.match('foo')
        Value.fail()
    except AssertionError:
        pass
示例#2
0
def test_enumerator_foo():
    for val in Value.iterate([0,2,4]):
        val % 2 == 0