- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 256 for test_1 (0.07 sec)
-
tensorflow/c/c_api_experimental_test.cc
TF_DeleteFunction(funcs[0]); } TEST_F(CApiExperimentalFunctionTest, EmptyGraphRemoveNonExistentFunction) { TF_GraphRemoveFunction(func_graph_, "wrong_name", s_); EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_)); EXPECT_EQ(string("Tried to remove non-existent function 'wrong_name'."), string(TF_Message(s_))); } TEST_F(CApiExperimentalFunctionTest, GraphRemoveNonExistentFunction) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/testing.md
**FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。 /// /// tip | "提示" 除了发送请求之外,如果你还想测试时在FastAPI应用中调用 `async` 函数(例如异步数据库函数), 可以在高级教程中看下 [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} 。 /// ## 分离测试 在实际应用中,你可能会把你的测试放在另一个文件里。 您的**FastAPI**应用程序也可能由一些文件/模块组成等等。 ### **FastAPI** app 文件
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
timestamppb "google.golang.org/protobuf/types/known/timestamppb" "istio.io/istio/istioctl/pkg/util/configdump" ) func TestNewAnalyzer(t *testing.T) { tests := []struct { name string input *configdump.Wrapper wantErr error }{ { name: "Test1", input: &configdump.Wrapper{ ConfigDump: &envoy_admin.ConfigDump{ Configs: []*anypb.Any{ {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
assertNull(System.getProperty("fess." + now)); assertNull(System.getProperty("test." + now)); appValue.set("=abc\nfess." + now + "=test1\ntest." + now + "=test2"); helper.updateSystemProperties(); assertEquals("test1", System.getProperty("fess." + now)); assertEquals("test2", System.getProperty("test." + now)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
EXPECT_EQ(*result_value, 4.0); TF_DeleteTensor(result_tensor); TF_DeleteAbstractTensor(result); TF_DeleteOutputList(o); TF_DeleteExecutionContext(ctx); } // MatMul Test TEST_P(UnifiedCAPI, TestBasicEagerMatMul) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java
assertContentType("text/x-csrc", "extractor/program/test.c", "test.c"); assertContentType("text/x-c++src", "extractor/program/test.cpp", "test.cpp"); assertContentType("text/x-chdr", "extractor/program/test.h", "test.h"); assertContentType("text/x-c++hdr", "extractor/program/test.hpp", "test.hpp"); assertContentType("text/x-java-source", "extractor/program/test.java", "test.java");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
numberOfBuckets, MAX_TEST_PROJECTS_PER_BUCKET, { numEmptyBuckets -> (0 until numEmptyBuckets).map { EmptyTestProjectBucket(it) }.toList() }, { tests1, tests2 -> tests1 != tests2 } ) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Feb 19 11:22:56 UTC 2024 - 15.3K bytes - Viewed (0) -
docs/pt/docs/how-to/custom-docs-ui-assets.md
/// ### Criar uma *operação de rota* para testar Agora, para poder testar se tudo funciona, crie uma *operação de rota*: ```Python hl_lines="36-38" {!../../docs_src/custom_docs_ui/tutorial001.py!} ``` ### Teste
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 18 12:02:35 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/test_annotated.py
def test_multiple_path(): app = FastAPI() @app.get("/test1") @app.get("/test2") async def test(var: Annotated[str, Query()] = "bar"): return {"foo": var} client = TestClient(app) response = client.get("/test1") assert response.status_code == 200 assert response.json() == {"foo": "bar"} response = client.get("/test1", params={"var": "baz"}) assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.2K bytes - Viewed (0) -
dbflute_fess/dfprop/sourceCopyright.dfprop
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 31 23:35:14 UTC 2015 - 344 bytes - Viewed (0)