// Path: src/main/java/org/picofarad/sdr101/blocks/sources/ImpulseSource.java
// public class ImpulseSource implements SignalBlock {
//     private boolean first;
// 
//     public ImpulseSource() {
//         first = true;
//     }
// 
//     public double output() {
//         if (first) {
//             first = false;
//             return 1.0;
//         } else {
//             return 0.0;
//         }
//     }
// }


import org.junit.Assert;
import org.junit.Test;
import org.picofarad.sdr101.blocks.sources.ImpulseSource;
/* sdr101-java
 * Simple software-defined radio for Java.
 *
 * (c) Karl-Martin Skontorp <kms@skontorp.net> ~ http://22pf.org/
 * Licensed under the GNU GPL 2.0 or later.
 */

package org.picofarad.sdr101.blocks;


public class ImpulseSourceTest {
    @Test
    public void testOutput() {
// Path: src/main/java/org/picofarad/sdr101/blocks/sources/ImpulseSource.java
// public class ImpulseSource implements SignalBlock {
//     private boolean first;
// 
//     public ImpulseSource() {
//         first = true;
//     }
// 
//     public double output() {
//         if (first) {
//             first = false;
//             return 1.0;
//         } else {
//             return 0.0;
//         }
//     }
// }


// Path: src/test/java/org/picofarad/sdr101/blocks/ImpulseSourceTest.java
import org.junit.Assert;
import org.junit.Test;
import org.picofarad.sdr101.blocks.sources.ImpulseSource;

/* sdr101-java
 * Simple software-defined radio for Java.
 *
 * (c) Karl-Martin Skontorp <kms@skontorp.net> ~ http://22pf.org/
 * Licensed under the GNU GPL 2.0 or later.
 */

package org.picofarad.sdr101.blocks;


public class ImpulseSourceTest {
    @Test
    public void testOutput() {
        ImpulseSource is = new ImpulseSource();