<commit_before><?php

require_once CM_Util::getNamespacePath('CM') . 'library/CM/SmartyPlugins/function.select.php';

class smarty_function_linkTest extends CMTest_TestCase {

	public function testBasics() {
		$htmlObject = $this->_createSelect(array(
			'name' => 'foo',
			'optionList' => array(
				0 => 'foo',
				1 => 'bar',
			),
			'selectedValue' => 1,
		));<commit_msg>Copy-paste buster<commit_after><?php

require_once CM_Util::getNamespacePath('CM') . 'library/CM/SmartyPlugins/function.select.php';

class smarty_function_selectTest extends CMTest_TestCase {

	public function testBasics() {
		$htmlObject = $this->_createSelect(array(
			'name' => 'foo',
			'optionList' => array(
				0 => 'foo',
				1 => 'bar',
			),
			'selectedValue' => 1,
		));
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.007874015748031496, 'mean_word_length': 4.489208633093525, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '976187', 'n_tokens_mistral': 298, 'n_tokens_neox': 260, 'n_words': 47}