Mercurial > hg > js-dsp-test
annotate fft/native/native-fft-test/native-fft-testTests/native_fft_testTests.m @ 40:223f770b5341 kissfft-double tip
Try a double-precision kissfft
author | Chris Cannam |
---|---|
date | Wed, 07 Sep 2016 10:40:32 +0100 |
parents | 55f715002fe5 |
children |
rev | line source |
---|---|
Chris@30 | 1 // |
Chris@30 | 2 // native_fft_testTests.m |
Chris@30 | 3 // native-fft-testTests |
Chris@30 | 4 // |
Chris@30 | 5 // Created by Chris Cannam on 17/10/2015. |
Chris@30 | 6 // Copyright (c) 2015 Chris Cannam. All rights reserved. |
Chris@30 | 7 // |
Chris@30 | 8 |
Chris@30 | 9 #import <UIKit/UIKit.h> |
Chris@30 | 10 #import <XCTest/XCTest.h> |
Chris@30 | 11 |
Chris@30 | 12 @interface native_fft_testTests : XCTestCase |
Chris@30 | 13 |
Chris@30 | 14 @end |
Chris@30 | 15 |
Chris@30 | 16 @implementation native_fft_testTests |
Chris@30 | 17 |
Chris@30 | 18 - (void)setUp { |
Chris@30 | 19 [super setUp]; |
Chris@30 | 20 // Put setup code here. This method is called before the invocation of each test method in the class. |
Chris@30 | 21 } |
Chris@30 | 22 |
Chris@30 | 23 - (void)tearDown { |
Chris@30 | 24 // Put teardown code here. This method is called after the invocation of each test method in the class. |
Chris@30 | 25 [super tearDown]; |
Chris@30 | 26 } |
Chris@30 | 27 |
Chris@30 | 28 - (void)testExample { |
Chris@30 | 29 // This is an example of a functional test case. |
Chris@30 | 30 XCTAssert(YES, @"Pass"); |
Chris@30 | 31 } |
Chris@30 | 32 |
Chris@30 | 33 - (void)testPerformanceExample { |
Chris@30 | 34 // This is an example of a performance test case. |
Chris@30 | 35 [self measureBlock:^{ |
Chris@30 | 36 // Put the code you want to measure the time of here. |
Chris@30 | 37 }]; |
Chris@30 | 38 } |
Chris@30 | 39 |
Chris@30 | 40 @end |