
import { LyricsParserService } from './src/app/services/lyrics-parser.service';

const parser = new LyricsParserService();

function testTranspose(chord, semitones) {
  const result = parser.transposeChord(chord, semitones);
  console.log(`${chord} + ${semitones} -> ${result}`);
}

console.log('Testing Slash Chords:');
testTranspose('DO/SOL', 2);
testTranspose('REm/LA', 1);
testTranspose('MIb/SIb', -1);
testTranspose('FA#/DO#', 2);

console.log('\nTesting Single Chords:');
testTranspose('DO', 2);
testTranspose('REm', 1);
testTranspose('SIb', -1);
