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: item_digit_test.go
    path of file: ./repos/base64Captcha
    
    the code of the file until where you have to start completion: package base64Captcha

import (
	"bytes"
	"testing"
)

func TestNewItemDigit(t *testing.T) {
	type args struct {
		width    int
		height   int
		dotCount int
		maxSkew  float64
	}
	tests := []struct {
		name strin
    
func TestItemDigit_EncodeBinary(t *testing.T) {

	idd := NewItemDigit(80, 300, 20, 0.25)

	tests := []struct {
		name string
		m    *ItemDigit
		want []byte
	}{
		{"one", idd, nil},
	}
	for _, tt := range tests {
		t.Run(tt.name, func(t *testing.T) {
			if got := tt.m.EncodeBinary(); len(got) == 0 {
				t.Errorf("ItemDigit.EncodeBinary() = %v, want %v", got, tt.want)
			}
		})
	}
}