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: fn_test.go
    path of file: ./repos/beam/sdks/go/pkg/beam/core/graph/window
    
    the code of the file until where you have to start completion: // Licensed to the Apache Software Foundation (ASF) under one or more
// c
    
func TestEquals(t *testing.T) {
	tests := []struct {
		name        string
		fnOne       *Fn
		fnTwo       *Fn
		expEquality bool
	}{
		{
			"global equal",
			NewGlobalWindows(),
			NewGlobalWindows(),
			true,
		},
		{
			"fixed equal",
			NewFixedWindows(100 * time.Millisecond),
			NewFixedWindows(100 * time.Millisecond),
			true,
		},
		{
			"fixed inequal duration",
			NewFixedWindows(100 * time.Millisecond),
			NewFixedWindows(200 * time.Millisecond),
			false,
		},
		{
			"sliding equal",
			NewSlidingWindows(10*time.Millisecond, 100*time.Millisecond),
			NewSlidingWindows(10*time.Millisecond, 100*time.Millisecond),
			true,
		},
		{
			"sliding inequal period",
			NewSlidingWindows(10*time.Millisecond, 100*time.Millisecond),
			NewSlidingWindows(20*time.Millisecond, 100*time.Millisecond),
			false,
		},
		{
			"sliding inequal duration",
			NewSlidingWindows(10*time.Millisecond, 100*time.Millisecond),
			NewSlidingWindows(10*time.Millisecond, 110*time.Millisecond),
			false,
		},
		{
			"session equal",
			NewSessions(10 * time.Minute),
			NewSessions(10 * time.Minute),
			true,
		},
		{
			"session inequal gap",
			NewSessions(5 * time.Minute),
			NewSessions(10 * time.Minute),
			false,
		},
		{
			"mismatched type",
			NewFixedWindows(100 * time.Millisecond),
			NewSlidingWindows(10*time.Millisecond, 100*time.Millisecond),
			false,
		},
	}
	for _, test := range tests {
		t.Run(test.name, func(t *testing.T) {
			if got, want := test.fnOne.Equals(test.fnTwo), test.expEquality; got != want {
				t.Errorf("(%v).Equals(%v) got %v, want %v", test.fnOne, test.fnTwo, got, want)
			}
		})
	}
}