AnalyzerPoc.cs 1.1 KB

12345678910111213141516171819202122232425
  1. using System.Linq;
  2. using Bsm.Core.Analyzer;
  3. using Bsm.Core.Loader;
  4. using Xunit;
  5. // ReSharper disable UnusedVariable
  6. namespace Bsm.Core.Tests
  7. {
  8. public class AnalyzerPoc
  9. {
  10. [Fact]
  11. public void RealNpsPoc()
  12. {
  13. var info = CustomLevelLoader.FromDirectory(@"Z:\CustomLevel\652f (HAMELN - Rigid)");
  14. var hameln = NotePerSecondAnalyzer.Handle(info.DifficultyBeatmapSets.FirstOrDefault()?.DifficultyBeatmaps.FirstOrDefault()?.Content.Notes, info.BeatsPerMinute);
  15. info = CustomLevelLoader.FromDirectory(@"Z:\CustomLevel\ee5d (Onyx Veil - WeissLilie)");
  16. var ov = NotePerSecondAnalyzer.Handle(info.DifficultyBeatmapSets.FirstOrDefault()?.DifficultyBeatmaps.FirstOrDefault()?.Content.Notes, info.BeatsPerMinute);
  17. info = CustomLevelLoader.FromDirectory(@"Z:\CustomLevel\6d1e (Halloween of the Dead - Hatsuki Yura)");
  18. var dead = NotePerSecondAnalyzer.Handle(info.DifficultyBeatmapSets.FirstOrDefault()?.DifficultyBeatmaps.FirstOrDefault()?.Content.Notes, info.BeatsPerMinute);
  19. }
  20. }
  21. }