<commit_before><commit_msg>add ultimate_test file<commit_after>package server

import (
	"testing"

	"github.com/hellodudu/Ultimate/logger"
	"github.com/hellodudu/Ultimate/utils/global"
)

func init() {
	global.Debugging = false
	global.MysqlUser = "root"
	global.MysqlPwd = ""
	global.MysqlAddr = "127.0.0.1"
	global.MysqlPort = "3306"
	global.MysqlDB = "db_ultimate"
	global.UltimateID = 110
	global.WorldConnectMax = 500
	global.WorldHeartBeatSec = 10
	global.WorldConTimeOutSec = 10
	logger.Init(global.Debugging, false, "game_datastore_test")
}

func TestUltimate(t *testing.T) {
	umt, err := NewUltimate()
	if err != nil {
		t.Error("NewUltimate error:", err)
	}
}

{'fraction_non_alphanumeric': 0.13412816691505217, 'fraction_numerical': 0.029806259314456036, 'mean_word_length': 4.843478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4024066', 'n_tokens_mistral': 290, 'n_tokens_neox': 265, 'n_words': 44}