Пример #1
0
 private static MachineRegister randomRegister()
 {
     Random random = new Random();
     MachineRegister register = new MachineRegister();
     register.init(random.Next(0, 5), random.Next(0, 5), random.Next(0, 5));
     return register;
 }
Пример #2
0
 private static MachineRegister mockRegister()
 {
     MachineRegister register = new MachineRegister();
     register.init(5, 7, 0);
     return register;
 }