public void VerifyOperationSubstractionBetweenTwonumbers5() { byte[] first = new byte[] { 7, 6, 5 }; byte[] second = new byte[] { 4, 3 }; byte[] expectedResult = new byte[] { 7, 2, 2 }; int baseNumber = 8; byte[] result = OperationsOnBases.OperationSubstraction(first, second, baseNumber); CollectionAssert.AreEqual(expectedResult, result); }
public void VerifyOperationSubstractionBetweenTwonumbers4() { byte[] first = new byte[] { 1, 0, 0, 0 }; byte[] second = new byte[] { 1, 0 }; byte[] expectedResult = new byte[] { 0, 1, 1, 0 }; int baseNumber = 2; byte[] result = OperationsOnBases.OperationSubstraction(first, second, baseNumber); CollectionAssert.AreEqual(expectedResult, result); }