<commit_before>package lzma2

import (
	"fmt"
	"testing"

	"github.com/uli-go/xz/lzma"
)

func TestChunkTypeString(t *testing.T) {
	tests := [...]struct {
		c chunkType
		s string
	}{
		{cEOS, "EOS"},
		{cU, "U"},
		{cUD, "UD"},
		{cL, "L"},
		{cLR, "LR"},
		{cLRN, "LRN"},
		{cLRND, "LRND"},
	}
	for _, c := range tests {
		s := fmt.Sprintf("%v", c.c)<commit_msg>lzma2: resorted tests for cU<commit_after>package lzma2

import (
	"fmt"
	"testing"

	"github.com/uli-go/xz/lzma"
)

func TestChunkTypeString(t *testing.T) {
	tests := [...]struct {
		c chunkType
		s string
	}{
		{cEOS, "EOS"},
		{cUD, "UD"},
		{cU, "U"},
		{cL, "L"},
		{cLR, "LR"},
		{cLRN, "LRN"},
		{cLRND, "LRND"},
	}
	for _, c := range tests {
		s := fmt.Sprintf("%v", c.c)
{'fraction_non_alphanumeric': 0.23822341857335128, 'fraction_numerical': 0.004037685060565276, 'mean_word_length': 3.1564245810055866, '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': '727767', 'n_tokens_mistral': 397, 'n_tokens_neox': 359, 'n_words': 75}