public void TopKFrequent(int[] nums, int k, int[] expectedResult) { var sut = new Solution(); var result = sut.TopKFrequent(nums, k); Assert.That(result, Is.EquivalentTo(expectedResult)); }