Exemple #1
0
 public void GetAllResultTest(SmartHoldemBlockList blocks)
 {
     Assert.IsNotNull(blocks);
     Assert.IsNotNull(blocks.Blocks);
     Assert.IsTrue(blocks.Success);
     Assert.IsNull(blocks.Error);
     Assert.IsTrue(blocks.Blocks.Count > 0);
 }
Exemple #2
0
 public void GetBlocksResultTest(SmartHoldemBlockList blocks)
 {
     Assert.IsNotNull(blocks);
     Assert.IsNotNull(blocks.Blocks);
     Assert.IsTrue(blocks.Success);
     Assert.IsNull(blocks.Error);
     Assert.IsTrue(blocks.Blocks.Count == 1);
     Assert.IsTrue(blocks.Blocks.First().Height == _height);
     Assert.IsTrue(blocks.Blocks.First().GeneratorPublicKey == _generatorPublicKey);
 }