public void CheckObjectCount() { var converter = MalodyFile.Parse("./Malody/Resources/1574436578.mc"); var qua = converter.ToQua(); Assert.True(qua.HitObjects.Count >= 1); }
public void ConvertToQua() { var converter = MalodyFile.Parse("./Malody/Resources/1574436578.mc"); var qua = converter.ToQua(); Assert.NotNull(qua); }
public void ConvertToQuaFile() { var dir = "./tests/malody"; Directory.CreateDirectory(dir); var converter = MalodyFile.Parse("./Malody/Resources/1574436578.mc"); var qua = converter.ToQua(); qua.Save($"{dir}/map.qua"); }
public void FailUponBadPath() { try { var converter = MalodyFile.Parse("bad-path-no-file"); Assert.NotNull(converter); } catch (Exception e) { // passed. } }