/*
+++++++++++++++++++++++++++++++++++++++++++
title     Hashids Public API Test         +
project   icecore-hashids                 +
file      HashidsTest.java                +
version                                   +
author    Arctic Ice Studio               +
email     development@arcticicestudio.com +
website   http://arcticicestudio.com      +
copyright Copyright (C) 2016              +
created   2016-06-06 21:05 UTC+0200       +
modified  2016-06-06 21:06 UTC+0200       +
+++++++++++++++++++++++++++++++++++++++++++

[Description]
Tests the "IceCore - Hashids" public API class "Hashids".

[Copyright]
Copyright (C) 2016 Arctic Ice Studio <development@arcticicestudio.com>

[References]
Hashids
  (http://hashids.org)
Java 8 API Documentation
  (https://docs.oracle.com/javase/8/docs/api/)
Arctic Versioning Specification (ArcVer)
  (http://specs.arcticicestudio.com/arcver)
*/
package com.arcticicestudio.icecore.hashids;

/**
 * Tests the <a href="https://bitbucket.org/arcticicestudio/icecore-hashids">IceCore - Hashids</a>
 * public API class {@link Hashids}.
 *
 * @author Arctic Ice Studio &lt;development@arcticicestudio.com&gt;
 * @see <a href="https://bitbucket.org/arcticicestudio/icecore-hashids">IceCore - Hashids</a>
 * @see <a href="http://hashids.org">Hashids</a>
 * @since 0.1.0
 */
public class HashidsTest {}

@@ -932,16 +932,86 @@
 shids;%0A%0A
+import static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0A
 /**%0A * T
@@ -1403,10 +1403,372 @@
 dsTest %7B
+%0A%0A  @Test%0A  public void oneLongNumber() %7B%0A    Hashids hashids = new Hashids(%22salt%22);%0A    long number = 12_345L;%0A    String expected = %22X4j1%22;%0A    long%5B%5D decoded = hashids.decodeLongNumbers(hashids.encodeToString(number));%0A%0A    assertEquals(hashids.encodeToString(number), expected);%0A    assertEquals(decoded.length, 1);%0A    assertEquals(decoded%5B0%5D, number);%0A  %7D%0A
 %7D%0A

Implement test method "+ oneLongNumber():void"