Esempio n. 1
0
 public void op_AdditionTest()
 {
     for (int i = 0; i < testData.Length; i++)
     {
         RL.RL a = new RL.RL(testData[i, 0]);
         RL.RL b = new RL.RL(testData[i, 1]);
         RL.RL expected = new RL.RL(testData[i, 2]);
         RL.RL actual;
         actual = (a + b);
         Assert.AreEqual(expected.StringValue, actual.StringValue);
     }
     //Assert.Inconclusive("Verify the correctness of this test method.");
 }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var first = new RL("14.10.9.8.5.4.3.-1.0");
            var secod = new RL("17.15.10.6");
            Console.WriteLine(first.StringValue);
            Console.WriteLine(secod.StringValue);
            //var result = first + secod;
            //Console.WriteLine(result.StringValue);

            Console.Read();
        }