Пример #1
0
        public void MissingDevicesString_ShouldMatch()
        {
            var cd = new PhoenixDummy();

            cd.InitMiningSetup(ClaymoreDualTest.CreateMiningSetupAndInit(d => d.ID != 1));

            Assert.AreEqual("-di 024", cd.GetDevCmd());
        }
Пример #2
0
        public void NVOnly_ShouldMatch()
        {
            var cd = new PhoenixDummy();

            cd.InitMiningSetup(ClaymoreDualTest.CreateMiningSetupAndInit(d => d.DeviceType == DeviceType.NVIDIA));

            Assert.AreEqual("-di 012 -platform 2 ", cd.GetDevCmd());
        }
Пример #3
0
        public void AllDevicesString_ShouldMatch()
        {
            var cd = new PhoenixDummy();

            cd.InitMiningSetup(ClaymoreDualTest.CreateMiningSetupAndInit());

            var devCmd = cd.GetDevCmd();

            Assert.AreEqual("-di 01234", devCmd);
        }