-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Get latest Currencies from [www.six-group.com](https://www.six-group.com/dam/download/financial-information/data-center/iso-currrency/lists/list-one.xml) 2. Use \XML\list-one.xml with \XML\Currencies.xslt to generate \XML\Currencies.xml grouping duplicates 3. Use \XML\Currencies.xml with \XML\Currency.xslt to generate \Money\Currency.cs code 4. Move `USD` as first `Currency` to default for `$` 5. Move `JPY` as first `Currency` to default for `¥` 6. Refactored Currency.cs merged CurrencyInfo into Currency added isFund property 7. Updated Money.cs & Currency.cs parsing logic with regex and Updated Unit Tests
- Loading branch information
Showing
18 changed files
with
5,308 additions
and
842 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
using Xunit; | ||
|
||
namespace System.Tests | ||
{ | ||
public class CurrenciesTest | ||
{ | ||
|
||
[Fact] | ||
public void Transform() | ||
{ | ||
Currencies.Transform(Currencies.SourceUrl,Currencies.InputPath,Currencies.XsltPath,Currencies.OutputPath); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.