- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for expectedIndex (0.26 sec)
-
cmd/erasure-metadata_test.go
// Add failure test case. testCases = append(testCases, struct { partNum int expectedIndex int }{6, -1}) // Test them. for _, testCase := range testCases { if index := objectPartIndex(fi.Parts, testCase.partNum); index != testCase.expectedIndex { t.Fatalf("%+v: expected = %d, got: %d", testCase, testCase.expectedIndex, index) } } } // Test FileInfo.ObjectToPartOffset().
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
void testFileIndex() throws CIFSException { // Given long expectedIndex = 12345L; when(mockResource.fileIndex()).thenReturn(expectedIndex); // When long index = mockResource.fileIndex(); // Then assertEquals(expectedIndex, index, "Should return correct file index");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0)