[bisq-network/bisq] List DSTRA (DST) (#2385)
Bernard Labno
notifications at github.com
Mon Feb 18 06:45:44 UTC 2019
blabno requested changes on this pull request.
NACK per comments.
Also please squash those commits into a single one.
> +
+public class DSTRATest extends AbstractAssetTest {
+
+ public DSTRATest() {
+ super(new DSTRA());
+ }
+
+ @Test
+ public void testValidAddresses() {
+ assertValidAddress("DGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd7");
+ assertValidAddress("DQcAKx5bFoeRwAEHE4EHQykyq8u2M1pwFa");
+ }
+
+ @Test
+ public void testInvalidAddresses() {
+ assertInvalidAddress("DGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd77");
Please format the code according to Bisq code style.
> + @Test
+ public void testValidAddresses() {
+ assertValidAddress("DGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd7");
+ assertValidAddress("DQcAKx5bFoeRwAEHE4EHQykyq8u2M1pwFa");
+ }
+
+ @Test
+ public void testInvalidAddresses() {
+ assertInvalidAddress("DGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd77");
+ assertInvalidAddress("DGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd");
+ assertInvalidAddress("dGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd7");
+ assertInvalidAddress("FGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd7");
+ assertInvalidAddress("fGiwGS8n3tJZuKxUdWF6MyTYvv6xgDcyd7");
+
+ }
+}
Add newline at the end of file.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2385#pullrequestreview-204637654
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190217/cfefbdbb/attachment-0001.html>
More information about the bisq-github
mailing list