You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: node_test.go
    path of file: ./repos/rancher/pkg/node
    
    the code of the file until where you have to start completion: package node

import (
	"testing"

	v32 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"

	"github.com/rancher/norman/types"
	v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3"
	rketypes "github.com/rancher/rke/types"
	"github.com/stretchr/testify/assert"
	corev1 "k8s.io/api/core/v1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

func TestIsNodeForNode(t *testing.T) {

	tests := []struct {
		name    string
		node    *corev1.Node
		machine *v3.Node
		want    bool
	}{
		{
			name: "no node config",
			node: &corev1.Node{
				ObjectMeta: v1.Obj
    
func TestIsNodeForNode(t *testing.T) {

	tests := []struct {
		name    string
		node    *corev1.Node
		machine *v3.Node
		want    bool
	}{
		{
			name: "no node config",
			node: &corev1.Node{
				ObjectMeta: v1.ObjectMeta{
					Name: "not nil",
				},
				Spec: corev1.NodeSpec{},
				Status: corev1.NodeStatus{
					Addresses: []corev1.NodeAddress{
						{
							Type:    corev1.NodeInternalIP,
							Address: "1.2.3.4.5",
						},
					},
				},
			},
			machine: &v3.Node{
				Status: v32.NodeStatus{
					NodeConfig: &rketypes.RKEConfigNode{},
					NodeName:   "",
				},
			},
			want: false,
		},
		{
			name: "Node == Machine (internal address)",
			node: &corev1.Node{
				ObjectMeta: v1.ObjectMeta{
					Name: "Node1",
				},
				Spec: corev1.NodeSpec{},
				Status: corev1.NodeStatus{
					Addresses: []corev1.NodeAddress{
						{
							Type:    corev1.NodeInternalIP,
							Address: "1.2.3.4.5",
						},
					},
				},
			},
			machine: &v3.Node{
				Namespaced: types.Namespaced{},
				Spec:       v32.NodeSpec{},
				Status: v32.NodeStatus{
					NodeName:   "NotNode1",
					Conditions: nil,
					NodeConfig: &rketypes.RKEConfigNode{
						Address:         "1.2.3.4.5",
						Port:            "",
						InternalAddress: "",
					},
				},
			},
			want: true,
		},
		{
			name: "Node == Machine (internal address != nil) ",
			node: &corev1.Node{
				ObjectMeta: v1.ObjectMeta{
					Name: "Node1",
				},
				Status: corev1.NodeStatus{
					Addresses: []corev1.NodeAddress{
						{
							Type:    corev1.NodeInternalIP,
							Address: "1.2.3.4.5",
						},
					},
				},
			},
			machine: &v3.Node{
				Namespaced: types.Namespaced{},
				Spec:       v32.NodeSpec{},
				Status: v32.NodeStatus{
					NodeName: "NotNode1",
					NodeConfig: &rketypes.RKEConfigNode{
						Address:         "1.2.3.4.5",
						Port:            "",
						InternalAddress: "",
					},
				},
			},
			want: true,
		},
	}
	for _, tt := range tests {

		result := IsNodeForNode(tt.node, tt.machine)
		assert.Equal(t, tt.want, result)
	}
}