Skip to content

Commit 1987e8c

Browse files
committed
refactor: delete comment
1 parent 5f6aa0f commit 1987e8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typescript/src/maximumAverageSubarrayI/findMaxAverage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ describe("Maximum Average Subarray I", () => {
44
it("should return the maximum average for a valid input array", () => {
55
const nums1 = [1, 12, -5, -6, 50, 3];
66
const k1 = 4;
7-
expect(findMaxAverage(nums1, k1)).toBeCloseTo(12.75); // Ожидаемое значение с плавающей точкой, поэтому используем toBeCloseTo()
7+
expect(findMaxAverage(nums1, k1)).toBeCloseTo(12.75);
88

99
const nums2 = [5, 7, 2, 8, 9, 1, 3];
1010
const k2 = 3;

0 commit comments

Comments
 (0)