INNER CODE UNIT · Go

TestMakePairs

mb-14/gomarkov · helpers_test.go:89

func TestMakePairs(t *testing.T) {
	type args struct {
		tokens []string
		order  int
	}
	tests := []struct {
		name string
		args args
		want []Pair
	}{
		// TODO: Add test cases.
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if got := MakePairs(tt.args.tokens, tt.args.order); !reflect.DeepEqual(got, tt.want) {
				t.Errorf("MakePairs() = %v, want %v", got, tt.want)
			}
		})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…