btool
A parser/converter/transpiler for .bib files
FieldTest.cpp
Go to the documentation of this file.
1 #include <gtest/gtest.h>
2 #include <Field.hpp>
3 
4 using namespace std::literals::string_literals;
5 
6 TEST(FieldTests, constructionTest) {
7  ASSERT_NO_THROW(([&](){
8  const auto test = Field{"a name"s, "a value"s};
9  }()));
10  ASSERT_NO_THROW(([&](){
11  const auto test = Field{"another name"s, "another value"s};
12  }()));
13 }
Field
Field-Container.
Definition: Field.hpp:11
TEST
TEST(FieldTests, constructionTest)
Definition: FieldTest.cpp:6
Field.hpp