Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Y_UNIT_TEST
Function
Y_UNIT_TEST
library/cpp/resource/ut/resource_ut.cpp:5–7 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3
4
Y_UNIT_TEST_SUITE(TestResource) {
5
Y_UNIT_TEST(Test1) {
6
UNIT_ASSERT_VALUES_EQUAL(NResource::Find(
"/x"
),
"na gorshke sidel korol\n"
);
7
}
8
9
Y_UNIT_TEST(TestHasFunc) {
10
UNIT_ASSERT_VALUES_EQUAL(NResource::Has(
"/x"
), true);
Callers
nothing calls this directly
Calls
2
Has
Function · 0.85
Find
Function · 0.50
Tested by
no test coverage detected