Package ca.nengo.model.neuron.impl

Source Code of ca.nengo.model.neuron.impl.SpikingNeuronFactoryTest

/*
* Created on 29-May-2006
*/
package ca.nengo.model.neuron.impl;

import java.awt.Frame;

import junit.framework.TestCase;
import ca.nengo.config.ConfigUtil;
import ca.nengo.math.impl.IndicatorPDF;

/**
* Unit tests for SpikingNeuron.
*
* @author Bryan Tripp
*/
public class SpikingNeuronFactoryTest extends TestCase {

    protected void setUp() throws Exception {
        super.setUp();
    }

    public void testNothing() {
    }

    public static void main(String[] args) {
        SpikingNeuronFactory factory = new SpikingNeuronFactory(
                new LinearSynapticIntegrator.Factory(),
                new LIFSpikeGenerator.Factory(),
                new IndicatorPDF(1),
                new IndicatorPDF(0));

        ConfigUtil.configure((Frame) null, factory);
    }
}
TOP

Related Classes of ca.nengo.model.neuron.impl.SpikingNeuronFactoryTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.