diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-05 14:08:31 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-05 14:08:31 +0200 |
commit | efec546035fe62bf33cc5ab071aa49abd7ef2008 (patch) | |
tree | a506aff8e75160a2be156d0d1c077cc8c008dec7 /libs/evoral/test/NoteTest.cpp | |
parent | f491d7ec71b4dc9b4d94be228dd8067c67f5e5f3 (diff) |
Fix libevoal unit-test compilation
Diffstat (limited to 'libs/evoral/test/NoteTest.cpp')
-rw-r--r-- | libs/evoral/test/NoteTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/evoral/test/NoteTest.cpp b/libs/evoral/test/NoteTest.cpp index b96cd7c351..ead96f1d99 100644 --- a/libs/evoral/test/NoteTest.cpp +++ b/libs/evoral/test/NoteTest.cpp @@ -1,18 +1,18 @@ #include "NoteTest.hpp" +#include "temporal/beats.h" #include "evoral/Note.hpp" -#include "evoral/Beats.hpp" #include <stdlib.h> CPPUNIT_TEST_SUITE_REGISTRATION (NoteTest); using namespace Evoral; -typedef Beats Time; +typedef Temporal::Beats Time; void NoteTest::copyTest () { - Note<Time> a(0, Beats(1.0), Beats(2.0), 60, 0x40); + Note<Time> a(0, Time(1.0), Time(2.0), 60, 0x40); Note<Time> b(a); CPPUNIT_ASSERT (a == b); @@ -25,7 +25,7 @@ NoteTest::copyTest () void NoteTest::idTest () { - Note<Time> a(0, Beats(1.0), Beats(2.0), 60, 0x40); + Note<Time> a(0, Time(1.0), Time(2.0), 60, 0x40); CPPUNIT_ASSERT_EQUAL (-1, a.id()); a.set_id(1234); |