Skip to content

Commit 806bf71

Browse files
committed
remove constructible check
Signed-off-by: Nitish Bharambe <[email protected]>
1 parent 3f6e5e1 commit 806bf71

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/cpp_unit_tests/test_main_model_type.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ struct AComponent {
1818
};
1919
} // namespace
2020

21-
template <typename T>
22-
concept Constructible = requires { T{}; };
23-
2421
static_assert(detail::validate_component_types_c<AllComponents>);
2522

2623
static_assert(detail::validate_component_types_c<ComponentList<Node, Source>>);
@@ -31,11 +28,6 @@ static_assert(detail::validate_component_types_c<ComponentList<Source, Node>>);
3128
static_assert(!detail::validate_component_types_c<ComponentList<Line>>);
3229
static_assert(!detail::validate_component_types_c<ComponentList<Source, Line>>);
3330

34-
static_assert(!Constructible<MainModelType<ExtraRetrievableTypes<Base, Branch>, ComponentList<Line>>>);
35-
static_assert(
36-
!Constructible<MainModelType<ExtraRetrievableTypes<Base, Branch, Appliance>, ComponentList<Line, Source>>>);
37-
static_assert(Constructible<MainModelType<ExtraRetrievableTypes<Base, Branch>, ComponentList<Node, Line>>>);
38-
3931
TEST_CASE("MainModelType") {
4032

4133
SUBCASE("Node Source") {

0 commit comments

Comments
 (0)