public void CountInBase() { var expected = new[] { 0L, 1, 2, 10, 11 }; var actual = MathLibrary.CountInBase(3).Take(5); Assert.True(expected.SequenceEqual(actual)); }