Skip to content

Commit

Permalink
add bitcoingold address test in swift test case
Browse files Browse the repository at this point in the history
  • Loading branch information
tolak authored and h4x3rotab committed Apr 20, 2020
1 parent ddb624c commit cc12da0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions swift/Tests/CoinAddressDerivationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ class CoinAddressDerivationTests: XCTestCase {
case .bitcoinCash:
let expectedResult = "bitcoincash:qpzl3jxkzgvfd9flnd26leud5duv795fnv7vuaha70"
AssetCoinDerivation(coin, expectedResult, derivedAddress, address)
case .bitcoingold:
let expectedResult = "btg1qwz9sed0k4neu6ycrudzkca6cnqe3zweq35hvtg"
AssetCoinDerivation(coin, expectedResult, derivedAddress, address)
case .callisto:
let expectedResult = "0x3E6FFC80745E6669135a76F4A7ce6BCF02436e04"
AssetCoinDerivation(coin, expectedResult, derivedAddress, address)
Expand Down Expand Up @@ -190,8 +193,6 @@ class CoinAddressDerivationTests: XCTestCase {
case .filecoin:
let expectedResult = "f1zzykebxldfcakj5wdb5n3n7priul522fnmjzori"
AssetCoinDerivation(coin, expectedResult, derivedAddress, address)
@unknown default:
fatalError()
}
}
}
Expand Down

0 comments on commit cc12da0

Please sign in to comment.