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: scanner_fuzz_test.go
    path of file: ./repos/gonic/scanner
    
    the code of the file until where you have to start completion: //go:build go1.18
// +build go1.18

package scanner_test

import (
	"fmt"
	"math/rand"
	"reflect"
	"testing"

	_ "github.com/jinzhu/gorm/dialects/sqlite"
	"github.com/stretchr/testify/assert"
	"go.senan.xyz/gonic/mockfs"
)

func FuzzScanner(f *testing.F) {
	checkDelta := func(assert *assert.Assertions, m *mockfs.MockFS, expSeen, expNew int) {
		st := m.ScanAndClean()
		assert.Equal(st.SeenTracks(), expSeen)
		assert.Equal(st.SeenTracksNew(), expNew)
		assert.Equal(st.TracksMissing(), 0)
		assert.Equal(st.AlbumsMissing(), 0)
		assert.Equal(st.ArtistsMissing(), 0)
		assert.Equal(st.GenresMissing(), 0)
	}

	f.Fuzz(func(t *testin
    
func FuzzScanner(f *testing.F) {
	checkDelta := func(assert *assert.Assertions, m *mockfs.MockFS, expSeen, expNew int) {
		st := m.ScanAndClean()
		assert.Equal(st.SeenTracks(), expSeen)
		assert.Equal(st.SeenTracksNew(), expNew)
		assert.Equal(st.TracksMissing(), 0)
		assert.Equal(st.AlbumsMissing(), 0)
		assert.Equal(st.ArtistsMissing(), 0)
		assert.Equal(st.GenresMissing(), 0)
	}

	f.Fuzz(func(t *testing.T, data []byte, seed int64) {
		assert := assert.New(t)
		m := mockfs.New(t)

		const toAdd = 1000
		for i := 0; i < toAdd; i++ {
			path := fmt.Sprintf("artist-%d/album-%d/track-%d.flac", i/6, i/3, i)
			m.AddTrack(path)
			m.SetTags(path, func(tags *mockfs.TagInfo) {
				fuzzStruct(i, data, seed, tags)
			})
		}

		checkDelta(assert, m, toAdd, toAdd) // we added all tracks, 0 delta
		checkDelta(assert, m, toAdd, 0)     // we added 0 tracks, 0 delta
	})
}