<commit_before>package edu.columbia.gemma.genome.gene;

import edu.columbia.gemma.BaseDAOTestCase;
import edu.columbia.gemma.genome.Gene;
import edu.columbia.gemma.genome.Taxon;
import edu.columbia.gemma.genome.gene.CandidateGene;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * <hr>
 * <p>
 * Copyright (c) 2005 Columbia University
 * @author daq2101
 * $id$
 */
public class CandidateGeneImplTest extends BaseDAOTestCase{
    private final Log log = LogFactory.getLog(CandidateGeneImplTest.class);
    
	public void testSetCandidateGene() {
	log.info("test setting of CandidateGene");  
	    // SET UP
        Gene g = null;
        Taxon t = null;
        
        t = Taxon.Factory.newInstance();
		t.setCommonName("mouse");
		t.setScientificName("mouse");
		
		g = Gene.Factory.newInstance();
		g.setName("testmygene");<commit_msg>*** empty log message ***<commit_after>package edu.columbia.gemma.genome.gene;

import edu.columbia.gemma.BaseDAOTestCase;
import edu.columbia.gemma.genome.Gene;
import edu.columbia.gemma.genome.Taxon;
import edu.columbia.gemma.genome.gene.CandidateGene;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 
 * 
 *
 * <hr>
 * <p>Copyright (c) 2004 - 2005 Columbia University
 * @author daq2101
 * @version $Id$
 */
public class CandidateGeneImplTest extends BaseDAOTestCase{
    private final Log log = LogFactory.getLog(CandidateGeneImplTest.class);
    
	public void testSetCandidateGene() {
	log.info("test setting of CandidateGene");  
	    // SET UP
        Gene g = null;
        Taxon t = null;
        
        t = Taxon.Factory.newInstance();
		t.setCommonName("mouse");
		t.setScientificName("mouse");
		
		g = Gene.Factory.newInstance();
		g.setName("testmygene");
{'fraction_non_alphanumeric': 0.12673707615341856, 'fraction_numerical': 0.011117287381878822, 'mean_word_length': 3.761904761904762, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '531358', 'n_tokens_mistral': 663, 'n_tokens_neox': 608, 'n_words': 116}