コード例 #1
0
        public void GetDelayForPlaybackUpdateTest()
        {
            double position1 = 12.43;
            double position2 = 139848934.3423240;

            Assert.Equal(_spotifyController.GetDelayForPlaybackUpdate(position1), 570);
            Assert.Equal(_spotifyController.GetDelayForPlaybackUpdate(position2), 657);
        }