<commit_before>package com.github.eclipsecolortheme.test;

import junit.framework.Assert;

import org.junit.Test;

import com.github.eclipsecolortheme.Color;

public class ColorTest {

	@Test
	public void testColor() {
		Color color = new Color("#FFAA00");
		Assert.assertEquals("255,170,0", color.asRGB());
		Assert.assertEquals("#FFAA00", color.asHex().toUpperCase());
		Assert.assertEquals(255, color.getR().intValue());
		Assert.assertEquals(170, color.getG().intValue());
		Assert.assertEquals(0, color.getB().intValue());
	}

}<commit_msg>Changed method name according to our conventions.<commit_after>package com.github.eclipsecolortheme.test;

import junit.framework.Assert;

import org.junit.Test;

import com.github.eclipsecolortheme.Color;

public class ColorTest {

	@Test
	public void color() {
		Color color = new Color("#FFAA00");
		Assert.assertEquals("255,170,0", color.asRGB());
		Assert.assertEquals("#FFAA00", color.asHex().toUpperCase());
		Assert.assertEquals(255, color.getR().intValue());
		Assert.assertEquals(170, color.getG().intValue());
		Assert.assertEquals(0, color.getB().intValue());
	}

}
{'fraction_non_alphanumeric': 0.16131907308377896, 'fraction_numerical': 0.03208556149732621, 'mean_word_length': 5.847560975609756, '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': '2148145', 'n_tokens_mistral': 393, 'n_tokens_neox': 364, 'n_words': 64}