Esempio n. 1
0
 public void AppharborGetCard2()
 {
     WithStopwatch(() =>
     {
         var client   = new DdsApiClient();
         var response = client.GetCard(testPbn);
         Assert.NotNull(response);
     });
 }
Esempio n. 2
0
 public void AppharborSolveGame()
 {
     WithStopwatch(() =>
     {
         var client   = new DdsApiClient();
         var response = client.SolveGame(testPbn);
         Assert.NotNull(response);
         Assert.AreEqual(13, response.Tricks.Count);
     });
 }
Esempio n. 3
0
        public void ApphbPlayGame()
        {
            var pbn =
                "\r\n[Deal \"W:A7.J43.AQ6.K9632:KT6542.Q6.J4.A85:QJ983.AT72.KT.T4:.K985.987532.QJ7\"]\r\n[Declarer \"E\"]\r\n[Contract \"3NT\"]\r\n[Play \"S\"]\r\n";

            WithStopwatch(() =>
            {
                var client   = new DdsApiClient();
                var response = client.PlayGame(pbn);
                Assert.NotNull(response);
            });
        }