Repository Public MIT
1// ORIX Calc2// File: Packages/ORIXFeatureConvert/Tests/ORIXFeatureConvertTests/ECBFixture.swift3// Description: The ECB eurofxref-daily.xml document as downloaded on 2026-11-20 (verbatim), used as the fake download in tests.4//5// Author: Simon-Pierre Boucher6// Contact: contact@spboucher.ai7import Foundation89enum ECBFixture {10 /// Verbatim copy of https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml fetched on 2026-11-20.11 static let daily20261120 = #"""12<?xml version="1.0" encoding="UTF-8"?>13<gesmes:Envelope xmlns:gesmes="http://www.gesmes.org/xml/2002-08-01" xmlns="http://www.ecb.int/vocabulary/2002-08-01/eurofxref">14 <gesmes:subject>Reference rates</gesmes:subject>15 <gesmes:Sender>16 <gesmes:name>European Central Bank</gesmes:name>17 </gesmes:Sender>18 <Cube>19 <Cube time='2026-11-20'>20 <Cube currency='USD' rate='1.0990'/>21 <Cube currency='JPY' rate='174.35'/>22 <Cube currency='CZK' rate='24.469'/>23 <Cube currency='DKK' rate='7.4746'/>24 <Cube currency='GBP' rate='0.83735'/>25 <Cube currency='HUF' rate='373.55'/>26 <Cube currency='PLN' rate='4.4583'/>27 <Cube currency='RON' rate='5.3493'/>28 <Cube currency='SEK' rate='11.2125'/>29 <Cube currency='CHF' rate='0.9223'/>30 <Cube currency='ISK' rate='137.20'/>31 <Cube currency='NOK' rate='10.7180'/>32 <Cube currency='TRY' rate='55.5788'/>33 <Cube currency='AUD' rate='1.6487'/>34 <Cube currency='BRL' rate='6.5259'/>35 <Cube currency='CAD' rate='1.5723'/>36 <Cube currency='CNY' rate='7.3388'/>37 <Cube currency='HKD' rate='8.6150'/>38 <Cube currency='IDR' rate='20071.37'/>39 <Cube currency='ILS' rate='3.6737'/>40 <Cube currency='INR' rate='101.8500'/>41 <Cube currency='KRW' rate='1472.04'/>42 <Cube currency='MXN' rate='20.9547'/>43 <Cube currency='MYR' rate='4.5196'/>44 <Cube currency='NZD' rate='1.9968'/>45 <Cube currency='PHP' rate='70.091'/>46 <Cube currency='SGD' rate='1.4160'/>47 <Cube currency='THB' rate='37.262'/>48 <Cube currency='ZAR' rate='19.1987'/>49 </Cube>50 </Cube>51</gesmes:Envelope>52"""#5354 static var data: Data { Data(daily20261120.utf8) }55}56