<commit_before>// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package testing

import (
	"flag"
)

var chatty bool;
func init() {
	flag.Bool("chatty", false, &chatty, "chatty");
}

export type Test struct {
	name string;
	f *() bool;
}

export func Main(tests *[]Test) {
	flag.Parse();
	ok := true;<commit_msg>gotest, via testing.go, should warn you if you failed to create any tests. when chatty, it should tell you how many there are.<commit_after>// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package testing

import (
	"flag"
)

var chatty bool;
func init() {
	flag.Bool("chatty", false, &chatty, "chatty");
}

export type Test struct {
	name string;
	f *() bool;
}

export func Main(tests *[]Test) {
	flag.Parse();
	ok := true;
	if len(tests) == 0 {
		println("warning: no tests available");
	} else if chatty {
		println(len(tests), "tests to run");
	}
{'fraction_non_alphanumeric': 0.12534562211981568, 'fraction_numerical': 0.008294930875576038, 'mean_word_length': 3.7217391304347824, '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': '1412784', 'n_tokens_mistral': 362, 'n_tokens_neox': 349, 'n_words': 147}