Package ipsk.audio.dsp
Class AudioSampleProcessorTest
- java.lang.Object
-
- ipsk.audio.dsp.AudioSampleProcessorTest
-
public class AudioSampleProcessorTest extends java.lang.Object
- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AudioSampleProcessorTest.AudioSampleProcessorImpl
-
Field Summary
Fields Modifier and Type Field Description static double[]
TEST_VALUES
-
Constructor Summary
Constructors Constructor Description AudioSampleProcessorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBigEndianConversion()
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.void
testBigEndianEncoding()
Test method forAudioSampleProcessor.encodeValue(double,byte[],int)
.void
testBigEndianUnsignedConversion()
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.void
testLittleEndianConversion()
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.void
testLittleEndianEncoding()
Test method forAudioSampleProcessor.encodeValue(double,byte[],int)
.void
testLittleEndianUnsignedConversion()
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.
-
-
-
Method Detail
-
testLittleEndianConversion
public void testLittleEndianConversion() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
testBigEndianConversion
public void testBigEndianConversion() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
testLittleEndianUnsignedConversion
public void testLittleEndianUnsignedConversion() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
testBigEndianUnsignedConversion
public void testBigEndianUnsignedConversion() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.getDoubleValue(byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
testLittleEndianEncoding
public void testLittleEndianEncoding() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.encodeValue(double,byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
testBigEndianEncoding
public void testBigEndianEncoding() throws AudioFormatNotSupportedException
Test method forAudioSampleProcessor.encodeValue(double,byte[],int)
.- Throws:
AudioFormatNotSupportedException
-
-