Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "XTS" currency #32

Merged
merged 1 commit into from
Feb 29, 2020
Merged

Add "XTS" currency #32

merged 1 commit into from
Feb 29, 2020

Conversation

Mordil
Copy link
Member

@Mordil Mordil commented Feb 29, 2020

Motivation:

The "XTS" currency is an ISO 4217 specified currency for use in tests, so it stands to reason to explicitly support
this currency to allow developers to have a reasonable currency for tests.

As ISO 4217 does not specify any minor units for XTS, the minor unit will be 1 to be capable of validating rounding.

Modifications:

  • Add: XTS currency definition

Result:

Developers should have access to the official ISO 4217 XTS test currency.

Motivation:

The "XTS" currency is an ISO 4217 specified currency for use in tests, so it stands to reason to explicitly support
this currency to allow developers to have a reasonable currency for tests.

As ISO 4217 does not specify any minor units for XTS, the minor unit will be `1` to be capable of validating rounding.

Modifications:

- Add: `XTS` currency definition

Result:

Developers should have access to the official ISO 4217 `XTS` test currency.
@Mordil Mordil added enhancement New feature or request semver-minor Require SemVer Minor bump labels Feb 29, 2020
@codeclimate
Copy link

codeclimate bot commented Feb 29, 2020

Code Climate has analyzed commit 424f4d2 and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2

View more on Code Climate.

@codecov
Copy link

codecov bot commented Feb 29, 2020

Codecov Report

Merging #32 into master will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #32      +/-   ##
==========================================
+ Coverage    96.3%   96.31%   +0.01%     
==========================================
  Files           6        6              
  Lines         487      489       +2     
==========================================
+ Hits          469      471       +2     
  Misses         18       18
Impacted Files Coverage Δ
Sources/Currency/CurrencyMint.swift 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94a666b...424f4d2. Read the comment docs.

@Mordil Mordil merged commit 103770f into master Feb 29, 2020
@Mordil Mordil deleted the add-xts branch February 29, 2020 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request semver-minor Require SemVer Minor bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant