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

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