예제 #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);
        }