Beispiel #1
0
        public static void AddTrueTwoColor()
        {
            String red = "01,02,03,04,05,06";
            String blue = "01,02";
            TwoColor tc = new TwoColor("321321231");
            tc.Add(red, blue);

            Assert.AreEqual(tc.TotalBet, 2);
        }
Beispiel #2
0
 public static void AddTwoColorWithErrorNumber()
 {
     String red = "01,02,03,04,05,0a";
     String blue = "01,02";
     TwoColor tc = new TwoColor("321321231");
     try
     {
         tc.Add(red, blue);
     }
     catch (FormatException)
     {
         Assert.True(true);
     }
 }