<commit_before><?php

namespace IMS\LTI\Tests;

use IMS\LTI\ToolConsumer;
use IMS\LTI\ToolConfiguration;
use IMS\LTI\LaunchParameters;

class ToolConsumerTest extends \PHPUnit_Framework_TestCase {
	
	public function testDummy() {
		$config = new ToolConfiguration(array('launch_url'	=> 'http://www.google.com/'));
		$params = array(
			LaunchParameters::RESOURCE_LINK_ID	=> 1,
		);
		
		$consumer = new ToolConsumer('asd', 'def', $config, $params);
		var_dump($consumer->generateLaunchData());
	}
	
}<commit_msg>Removed var_dump on test<commit_after><?php

namespace IMS\LTI\Tests;

use IMS\LTI\ToolConsumer;
use IMS\LTI\ToolConfiguration;
use IMS\LTI\LaunchParameters;

class ToolConsumerTest extends \PHPUnit_Framework_TestCase {
	
	public function testDummy() {
		$config = new ToolConfiguration(array('launch_url'	=> 'http://www.google.com/'));
		$params = array(
			LaunchParameters::RESOURCE_LINK_ID	=> 1,
		);
		
		$consumer = new ToolConsumer('asd', 'def', $config, $params);
		$parameters = $consumer->generateLaunchData();
		//@TODO: Assert about response parameters
	}
	
}
{'fraction_non_alphanumeric': 0.14219759926131118, 'fraction_numerical': 0.0018467220683287165, 'mean_word_length': 5.194285714285714, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3300116', 'n_tokens_mistral': 391, 'n_tokens_neox': 356, 'n_words': 71}