Esempio n. 1
0
        public void CheckCurrencyPairCount()
        {
            CurrencyRateUpdate.SetCurrencyRateData();
            int pairCount = 0;

            pairCount = CurrencyRateUpdate.PairData.Count;
            Assert.AreEqual(61, pairCount);
        }
Esempio n. 2
0
        public static void Tick()
        {
            CurrentTick++;
            CurrencyRateUpdate.SetCurrencyRateData();
            CompareTargetRate.CheckTarget();

            //Console.WriteLine("Tick:" + CurrentTick);
            //Console.WriteLine("Count:" + CurrencyData.Count);
        }
Esempio n. 3
0
 static CurrencyRateController()
 {
     CurrencyRateUpdate.SetCurrencyRateData();
     //CompareTargetRate.SetTarget("EURUSD", 1.16154F);
 }
Esempio n. 4
0
 public void CheckUpdateEqualsController()
 {
     CurrencyRateUpdate.SetCurrencyRateData();
     Assert.AreEqual(61, CurrencyRateController.CurrencyData.Count);
 }