Skip to content

Commit

Permalink
refactor: delete comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrig committed Jul 30, 2023
1 parent 5f6aa0f commit 1987e8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ describe("Maximum Average Subarray I", () => {
it("should return the maximum average for a valid input array", () => {
const nums1 = [1, 12, -5, -6, 50, 3];
const k1 = 4;
expect(findMaxAverage(nums1, k1)).toBeCloseTo(12.75); // Ожидаемое значение с плавающей точкой, поэтому используем toBeCloseTo()
expect(findMaxAverage(nums1, k1)).toBeCloseTo(12.75);

const nums2 = [5, 7, 2, 8, 9, 1, 3];
const k2 = 3;
Expand Down

0 comments on commit 1987e8c

Please sign in to comment.