<commit_before>package keys_test

import (
	"testing"

	"github.com/kezhuw/leveldb/internal/keys"
)

type sequenceTest struct {
	seq  keys.Sequence
	next uint64
	want keys.Sequence
}

var sequenceTests = []sequenceTest{
	{
		seq:  0x00123456789abcde,
		next: 0x000fc9a8743210fe,
		want: 0x0021fdfeeccccddc,
	},
	{
		seq:  0x00edcba987654321,
		next: 0x0000149efb5c218e,
		want: 0x00ede04882c164af,
	},
}

func TestSequenceNext(t *testing.T) {
	for i, test := range sequenceTests {
		got := test.seq.Next(test.next)
		if got != test.want {<commit_msg>Rename test case type for Sequence.Next<commit_after>package keys_test

import (
	"testing"

	"github.com/kezhuw/leveldb/internal/keys"
)

type nextSequenceTest struct {
	seq  keys.Sequence
	next uint64
	want keys.Sequence
}

var nextSequenceTests = []nextSequenceTest{
	{
		seq:  0x00123456789abcde,
		next: 0x000fc9a8743210fe,
		want: 0x0021fdfeeccccddc,
	},
	{
		seq:  0x00edcba987654321,
		next: 0x0000149efb5c218e,
		want: 0x00ede04882c164af,
	},
}

func TestSequenceNext(t *testing.T) {
	for i, test := range nextSequenceTests {
		got := test.seq.Next(test.next)
		if got != test.want {
{'fraction_non_alphanumeric': 0.10770577933450087, 'fraction_numerical': 0.11558669001751314, 'mean_word_length': 4.366197183098592, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5897764', 'n_tokens_mistral': 568, 'n_tokens_neox': 464, 'n_words': 89}