def METHOD_NAME(node_type, a, b):
    """Test addition for ``Int`` and ``Float`` nodes."""
    node_a = node_type(a)
    node_b = node_type(b)
    result = node_a + node_b
    assert isinstance(result, node_type)
    assert result.value == a + b
    # Node and native (both ways)
    result = node_a + b
    assert isinstance(result, node_type)
    assert result.value == a + b
    result = a + node_b
    assert isinstance(result, node_type)
    assert result.value == a + b
    # Inplace
    result = node_type(a)
    result += node_b
    assert isinstance(result, node_type)
    assert result.value == a + b