Example #1
0
        private bool TestSum()
        {
            var t1 = new TestTicker();

            return((decimal)t1.vol + t1.last + t1.sell + t1.buy + t1.weekRiseRate + t1.riseRate + t1.high + t1.low +
                   t1.monthRiseRate == 0);
        }
Example #2
0
        private bool TestBool()
        {
            var t2 = new TestTicker();

            return((decimal)t2.vol == 0 && t2.last == 0 && t2.sell == 0 && t2.buy == 0 && t2.weekRiseRate == 0 && t2.riseRate == 0 && t2.high == 0 && t2.low == 0 && t2.monthRiseRate == 0);
        }