示例#1
0
def test_is_positive_value_unsigned_type(dtype):
    assert is_positive_value(dtype(16))
示例#2
0
def test_is_positive_value_signed_type(dtype):
    assert is_positive_value(dtype(16))
    assert not is_positive_value(dtype(-16))