public void InsertNumberStartOrEndBitLessZeroArgumentOutOfRangeException(int numberSource, int numberIn, int startPositionBit, int endPositionBit) { Assert.Throws <ArgumentOutOfRangeException>(() => InserterNumber.InsertNumber(numberSource, numberIn, startPositionBit, endPositionBit)); }
public void InsertNumberEndBitLessThenStartBitArgumentException(int numberSource, int numberIn, int startPositionBit, int endPositionBit) { Assert.Throws <ArgumentException>(() => InserterNumber.InsertNumber(numberSource, numberIn, startPositionBit, endPositionBit)); }
public int InsertNumberSimpleTest(int firstNumber, int secondNumber, int startPositionBit, int endPositionBite) => InserterNumber.InsertNumber(firstNumber, secondNumber, startPositionBit, endPositionBite);