public void TrialDivisionTest() { const long value = 7399; var result = Factorization.TrialDivision(value); var expectedResult = new long[] { 7, 7, 151 }; var isEqual = result.SequenceEqual(expectedResult); Assert.IsTrue(isEqual, "Trial Division has an incorrect result"); }