public static void TestHasCode() { // Arrange const int num = 5; var testObj = new DataStructures.BitArray.BitArray(3); // Act testObj.Compile(num); var result = testObj.GetHashCode(); // Assert Assert.NotNull(result); Assert.AreEqual(5, result); }