Example #1
0
        public void BeatTempoAsSeconds_120()
        {
            double sec = AudioMaths.BeatTempoAsSeconds(120);

            Assert.AreEqual(0.5, sec);
        }
Example #2
0
        public void BeatTempoAsSeconds_117()
        {
            double sec = AudioMaths.BeatTempoAsSeconds(117);

            Assert.AreEqual(60.0 / 117.0, sec);
        }
Example #3
0
        public void BeatTempoAsSeconds_60()
        {
            double sec = AudioMaths.BeatTempoAsSeconds(60);

            Assert.AreEqual(1, sec);
        }