Skip to content

Commit

Permalink
#16 for Math-Tests-FastFourierTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeStinckwich committed Nov 10, 2018
1 parent dcf8b6a commit ed195aa
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Class {
#name : #TestFFT,
#name : #PMFFTTest,
#superclass : #TestCase,
#category : 'Math-Tests-FastFourierTransform'
#category : #'Math-Tests-FastFourierTransform'
}

{ #category : #tests }
TestFFT >> testBitReverse [
PMFFTTest >> testBitReverse [
self should: [ 1 bitReverse: 0 ] raise: Error.
self should: [ 2 bitReverse: 1 ] raise: Error.
self assert: (0 bitReverse: 0) equals: 0.
Expand All @@ -21,7 +21,7 @@ TestFFT >> testBitReverse [
]

{ #category : #tests }
TestFFT >> testFFT [
PMFFTTest >> testFFT [
| data data1 f s |
data := (1 to: 256)
collect: [ :i | (Float pi * (i - 1) / (256 / 8)) cos ].
Expand Down

0 comments on commit ed195aa

Please sign in to comment.