2 * SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2024 EfficiOS, Inc.
7 #include "cpp-common/bt2c/fmt.hpp"
8 #include "cpp-common/bt2c/uuid.hpp"
9 #include "cpp-common/vendor/fmt/format.h"
15 constexpr auto uuidStr
= "c2281e4a-699b-4b78-903f-2f8407fe2b77";
16 const bt2c::Uuid uuid
{uuidStr
};
17 const bt2c::UuidView uuidView
{uuid
};
21 const auto resUuid
= fmt::to_string(uuid
);
22 const auto resUuidView
= fmt::to_string(uuidView
);
24 ok(resUuid
== uuidStr
, "result of format_as() for `Uuid` is expected");
25 ok(resUuidView
== uuidStr
, "result of format_as() for `UuidView` is expected");
This page took 0.030173 seconds and 4 git commands to generate.