<commit_before><?php
/**
 * Copyright (c) 2012 <NAME> <<EMAIL>>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

class Test_Geo extends UnitTestCase {
	function testTimezone() {
		$result = OC_Geo::timezone(3,3);
		$expected = 'Africa/Porto-Novo';
		$this->assertEquals($result, $expected);

		$result = OC_Geo::timezone(-3,-3333);
		$expected = 'Pacific/Enderbury';
		$this->assertEquals($result, $expected);
	}
}<commit_msg>Expectation should be first parameter<commit_after><?php
/**
 * Copyright (c) 2012 <NAME> <<EMAIL>>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

class Test_Geo extends UnitTestCase {
	function testTimezone() {
		$result = OC_Geo::timezone(3,3);
		$expected = 'Africa/Porto-Novo';
		$this->assertEquals($expected, $result);

		$result = OC_Geo::timezone(-3,-3333);
		$expected = 'Pacific/Enderbury';
		$this->assertEquals($expected, $result);
	}
}
{'fraction_non_alphanumeric': 0.1556420233463035, 'fraction_numerical': 0.023346303501945526, 'mean_word_length': 4.685082872928176, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '4580368', 'n_tokens_mistral': 379, 'n_tokens_neox': 341, 'n_words': 88}