mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-24 23:16:28 +00:00
19 lines
439 B
C#
19 lines
439 B
C#
using System;
|
|
using NUnit.Framework;
|
|
using SpotifyAPI.Web;
|
|
|
|
namespace SpotifyAPI.Tests
|
|
{
|
|
[TestFixture]
|
|
public class UtilTest
|
|
{
|
|
[Test]
|
|
public void TimestampShouldBeNoFloatingPoint()
|
|
{
|
|
string timestamp = DateTime.Now.ToUnixTimeMillisecondsPoly().ToString();
|
|
|
|
StringAssert.DoesNotContain(".", timestamp);
|
|
StringAssert.DoesNotContain(",", timestamp);
|
|
}
|
|
}
|
|
} |