Пример #1
0
        public void AssertBigMathNumberInstantiatesWithZeroValueByEqualsMethodToAnotherBigMathNumber()
        {
            var testItem  = new BigMathNumber();
            var testItem2 = new BigMathNumber();

            Assert.IsTrue(testItem.Equals(testItem2));
        }
Пример #2
0
        public void AssertBigMathNumberAssignNumberFromString()
        {
            var testItem = new BigMathNumber();

            testItem = "10";
            Assert.IsTrue(testItem.Equals("10"));
        }
Пример #3
0
        public void BigMathNumberEqualsAnotherBigMathNumberTurnedIntoObject()
        {
            var testItem  = new BigMathNumber();
            var testItem2 = new BigMathNumber();

            testItem  = "100";
            testItem2 = "100";
            var newObject = testItem2 as object;

            Assert.IsTrue(testItem.Equals(testItem2));
        }