public void TestGetCoinPriceMiningPerdayByGpuName() { MiningCalculator calc = new MiningCalculator(); double hashRate = HashPower.GetHashRate("1080ti", "lyra2z", 18); calc.MyHashRate = hashRate; double miningManoBtcPerDay = calc.GetTotalBtcMiningPerday("MANO", PoolName.Bsod, ExchangeName.CryptoBridge); double miningIfxBtcPerDay = calc.GetTotalBtcMiningPerday("IFX", PoolName.Bsod, ExchangeName.CryptoBridge); double miningGinBtcPerDay = calc.GetTotalBtcMiningPerday("GIN", PoolName.Bsod, ExchangeName.CryptoBridge); double miningVtlBtcPerDay = calc.GetTotalBtcMiningPerday("VTL", PoolName.Bsod, ExchangeName.CryptoBridge); Assert.AreEqual(true, miningManoBtcPerDay > 0); }
public void TestGetNeoScryptPriceMiningPerdayFromBsod() { MiningCalculator calc = new MiningCalculator(); double hashRate = HashPower.GetHashRate("1080ti", "lyra2z", 18); hashRate += HashPower.GetHashRate("1070ti", "lyra2z", 6); hashRate += HashPower.GetHashRate("1070", "lyra2z", 7); calc.MyHashRate = hashRate; System.Diagnostics.Debug.WriteLine(calc.MyHashRate); double miningGbxBtcPerDay = calc.GetTotalFiatMoneyMiningPerday("GBX", PoolName.Bsod, ExchangeName.CryptoBridge, FiatCurrency.THB); // double miningLincBtcPerDay = calc.GetTotalBtcMiningPerday("LINC", PoolName.Bsod, ExchangeName.Crex24); // double miningUfoBtcPerDay = calc.GetTotalBtcMiningPerday("UFO", PoolName.Bsod, ExchangeName.CryptoBridge); Assert.AreEqual(true, miningGbxBtcPerDay > 0); }
public void TestGetAllCoinPriceMiningPerdayFromBsod() { MiningCalculator calc = new MiningCalculator(); double hashRate = HashPower.GetHashRate("1080ti", "lyra2z", 18); hashRate += HashPower.GetHashRate("1070ti", "lyra2z", 6); hashRate += HashPower.GetHashRate("1070", "lyra2z", 7); calc.MyHashRate = hashRate; System.Diagnostics.Debug.WriteLine(calc.MyHashRate); double miningManoBtcPerDay = calc.GetTotalBtcMiningPerday("MANO", PoolName.Bsod, ExchangeName.CryptoBridge); double miningIfxBtcPerDay = calc.GetTotalBtcMiningPerday("IFX", PoolName.Bsod, ExchangeName.CryptoBridge); double miningGinBtcPerDay = calc.GetTotalBtcMiningPerday("GIN", PoolName.Bsod, ExchangeName.CryptoBridge); double miningVtlBtcPerDay = calc.GetTotalBtcMiningPerday("VTL", PoolName.Bsod, ExchangeName.CryptoBridge); Assert.AreEqual(true, miningManoBtcPerDay > 0); }