Livt packages

Livt.Signal

Version 0.1.1

Q1.15 sample streams, filters, windows, rate conversion, FFTs, oscillators, and mixers for Livt.

Published files (80)

tests/transform/SequentialFftRecoveryTest.lvt

namespace Livt.Signal.Tests.Transform

/**
 * Verifies that malformed input is discarded before the next complete frame.
 */
@Test
component SequentialFftRecoveryTest
{
	fixture: SequentialFftRecoveryFixture

	new()
	{
		fixture = new SequentialFftRecoveryFixture()
	}

	@Test
	fn RecoversAtTheNextFirstMarker()
	{
		fixture.ready = true
		Simulation.Wait(300)

		assert fixture.errorSeen
		assert fixture.accepted == 8
		assert fixture.mismatches == 0
	}
}