stuff-from-scratch/test/audio/TestMidiReader.cpp

17 lines
325 B
C++
Raw Normal View History

2021-05-23 20:02:38 +00:00
#include "MidiReader.h"
2022-11-29 18:00:19 +00:00
#include "TestFramework.h"
2021-05-23 20:02:38 +00:00
#include <memory>
#include <string>
#include <iostream>
2022-11-29 18:00:19 +00:00
TEST_CASE(TestReadMidi, "audio")
2021-05-23 20:02:38 +00:00
{
2022-11-29 18:00:19 +00:00
MidiReader reader;
reader.Read("/home/jmsgrogan/Downloads/test.mid");
2021-05-23 20:02:38 +00:00
2022-11-29 18:00:19 +00:00
auto document = reader.GetDocument();
// std::cout << document->Serialize() << std::endl;
2021-05-23 20:02:38 +00:00
};