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