1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Rearranges file.

This commit is contained in:
Thomas Harte 2020-04-20 19:41:04 -04:00
parent 3852e119aa
commit 39e6a28730

View File

@ -17,6 +17,8 @@
@implementation OPLTests {
}
// MARK: - Table tests
- (void)testSineLookup {
for(int c = 0; c < 1024; ++c) {
const auto logSin = Yamaha::OPL::negative_log_sin(c);
@ -29,6 +31,8 @@
}
}
// MARK: - Two-operator FM tests
- (void)compareFMTo:(NSArray *)knownGood atAttenuation:(int)attenuation {
Yamaha::OPL::Operator modulator, carrier;
Yamaha::OPL::Channel channel;
@ -83,6 +87,7 @@
}
}
// MARK: - ADSR tests
- (void)testADSR {
Yamaha::OPL::Operator test_operator;