summaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/udf_value_test_support/dynumber.h
blob: 7e093cd407f615e736226b73702bfb5e70425790 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

#pragma once

#include <util/generic/string.h>

namespace NYql::NUdf::NTest {

struct TTestDyNumber {
    TString Value;

    TTestDyNumber()
        : Value("0")
    {
    }

    explicit TTestDyNumber(TStringBuf value)
        : Value(TString{value})
    {
    }

    explicit TTestDyNumber(const char* value)
        : Value(value)
    {
    }
};

} // namespace NYql::NUdf::NTest