Exemple #1
0
        public void TestLoadAlgorithmFromZpool()
        {
            ZpoolAPI  api   = new ZpoolAPI();
            Algorithm algor = api.LoadAlgorithm();

            Assert.AreEqual(true, algor.lyra2z != null);
        }
 private void LoadZpoolAlgorithm()
 {
     try
     {
         _zpoolAlgorithm = _zpoolAPI.LoadAlgorithm();
     }
     catch (Exception err)
     {
         Debug.WriteLine("Warning: " + err.Message);
     }
 }