- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 2,645 for test (0.01 seconds)
-
tensorflow/c/c_api_experimental_test.cc
#include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/tensorflow_server.pb.h" namespace tensorflow { namespace { TEST(CAPI_EXPERIMENTAL, GetServerDefTest) { const string expected_text_proto(R"(cluster { job { name: "worker" tasks { key: 0Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
import java.util.zip.Deflater import kotlin.test.assertFailsWith import okhttp3.TestUtil.fragmentBuffer import okio.Buffer import okio.ByteString import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.DeflaterSink import okio.use import org.junit.jupiter.api.Test internal class MessageDeflaterInflaterTest { @Test fun `inflate golden value`() {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 6.4K bytes - Click Count (0) -
internal/event/config_test.go
err := xml.Unmarshal(testCase.data, result) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { if !reflect.DeepEqual(result, testCase.expectedResult) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result) } } } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 28.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for the {@link UpgradeResult} class. * Tests result creation, merging, and status determination. */ @DisplayName("UpgradeResult")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
CONTRIBUTING.md
``` For example, to run all tests under tensorflow/python, do: ```bash bazel test ${flags} //tensorflow/python/... ``` For a single component e.g. softmax op: ```bash bazel test ${flags} tensorflow/python/kernel_tests/nn_ops:softmax_op_test ``` For a single/parameterized test e.g. `test_capture_variables` inCreated: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Jan 11 04:47:59 GMT 2025 - 15.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
} /* * TODO: b/318391980 - Once we test only under Java 20 and higher, avoid calling Thread.stop. As * of Java 20, it always throws an exception, and as of Java 26, the method does not even exist. * For now, we continue using it to clean up under older JDKs. * * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
} @Test void testEqualsNullSafe() { assertFalse(new Organization().equals(null)); new Organization().equals(new Organization()); } @Test void testEqualsIdentity() { Organization thing = new Organization(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
src/bufio/scan_test.go
func TestScanByte(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanBytes) var i int for i = 0; s.Scan(); i++ { if b := s.Bytes(); len(b) != 1 || b[0] != test[i] { t.Errorf("#%d: %d: expected %q got %q", n, i, test, b) } } if i != len(test) { t.Errorf("#%d: termination expected at %d; got %d", n, len(test), i) } err := s.Err()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
/** * MNG-5951 MNG-6059 child.x.y.inherit.append.path="false" test * @throws Exception */ @Test void testNoAppendUrls() throws Exception { testInheritance("no-append-urls"); } /** * MNG-5951 special case test: inherit with partial override * @throws Exception */ @Test void testNoAppendUrls2() throws Exception { testInheritance("no-append-urls2");Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 8.2K bytes - Click Count (0)