-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- tests for TwelveToneSet - moved all tests to MusicCore.Tests - other miscellaneous changes
- Loading branch information
Showing
15 changed files
with
241 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using Microsoft.VisualStudio.TestTools.UnitTesting; | ||
//using MSTestHacks; | ||
using MusicCore; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Reflection; | ||
|
||
namespace MusicComposer.Tests | ||
{ | ||
[TestClass] | ||
public class CompositionsTests //: TestBase | ||
{ | ||
private IEnumerable<string> TestSource | ||
{ | ||
get | ||
{ | ||
return null; | ||
//foreach (var mi in typeof(Compositions).GetMethods()) | ||
//{ | ||
// if (mi.ReturnType == typeof(Melody12Tone)) | ||
// yield return mi.Name; | ||
//} | ||
} | ||
} | ||
|
||
[TestMethod] | ||
//[DataSource("MusicComposer.Tests.CompositionsTests." + nameof(TestSource))] | ||
public void Test() | ||
{ | ||
//var methodName = TestContext.GetRuntimeDataSourceObject<string>(); | ||
//MethodInfo mi = typeof(Compositions).GetMethod(methodName); | ||
//Func<Melody12Tone> dg = (Func<Melody12Tone>)Delegate.CreateDelegate(typeof(Func<Melody12Tone>), mi); | ||
//Melody12Tone m12tone = dg(); | ||
//foreach (var nwd in m12tone.Notes()) ; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.