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: schedule_test.go
    path of file: ./repos/marketstore/contrib/xignitefeeder/feed
    
    the code of the file until where you have to start completion: package feed_test

import (
	"reflect"
	"testing"
	"time"

	"github.com/alpacahq/marketstore/v4/contrib/xignitefeeder/feed"
)

type mockMarketTimeChecker struct {
	isOpen bool
}

func (m *mockMarketTimeChecker) IsOpen(_ time.Time) bool {
	return m.isOpen
}

func (m *mockMarketTimeChecker) Sub(_ time.Time, _ int) (time.Time, error) {
	panic("not implemented")
}

func TestParseSchedule(t *testing.T) {
	t.Parallel()
	tests := []struct {
		name    string
		s       string
		want    []int
		wantErr bool
	}{
		{
			name:    "\"0,15,30,45\" -> every 15 minutes",
			s:       "0,15,30,45",
			want:    []int{0, 15, 30, 45},
			wantErr: false,
		},
		{
			name:    "\"50,10\" -> 10 and 50, numbers are sorted",
			s:       "50,10",
			want:    []int{10, 50},
			wantErr: false,
		},
		{
			name:    "whitespaces are ignored",
			s:       "   20,   40    ",
			
    
func TestParseSchedule(t *testing.T) {
	t.Parallel()
	tests := []struct {
		name    string
		s       string
		want    []int
		wantErr bool
	}{
		{
			name:    "\"0,15,30,45\" -> every 15 minutes",
			s:       "0,15,30,45",
			want:    []int{0, 15, 30, 45},
			wantErr: false,
		},
		{
			name:    "\"50,10\" -> 10 and 50, numbers are sorted",
			s:       "50,10",
			want:    []int{10, 50},
			wantErr: false,
		},
		{
			name:    "whitespaces are ignored",
			s:       "   20,   40    ",
			want:    []int{20, 40},
			wantErr: false,
		},
		{
			name:    "no schedule is set",
			s:       "",
			want:    []int{},
			wantErr: false,
		},
		{
			name:    "NG/minute must be between [0, 59]",
			s:       "100",
			want:    nil,
			wantErr: true,
		},
		{
			name:    "NG/range is not supported",
			s:       "0-10",
			want:    nil,
			wantErr: true,
		},
	}
	for _, tt := range tests {
		tt := tt
		t.Run(tt.name, func(t *testing.T) {
			t.Parallel()

			got, err := feed.ParseSchedule(tt.s)
			if (err != nil) != tt.wantErr {
				t.Errorf("ParseSchedule() error = %v, wantErr %v", err, tt.wantErr)
				return
			}
			if !reflect.DeepEqual(got, tt.want) {
				t.Errorf("ParseSchedule() got = %v, want %v", got, tt.want)
			}
		})
	}
}