private void CheckCompareLogical( UInt16 ui16Val1, UInt16 ui16Val2, Boolean expectedSign, Boolean expectedZero, String message) { Word word1 = new Word(ui16Val1); Word word2 = new Word(ui16Val2); Boolean actualSign; Boolean actualZero; Alu.CompareLogical(word1, word2, out actualSign, out actualZero); Assert.AreEqual(expectedSign, actualSign, "Sign: " + message); Assert.AreEqual(expectedZero, actualZero, "Zero: " + message); }