Gromacs
2020.4
|
#include "gmxpre.h"
#include "gromacs/compat/string_view.h"
#include <initializer_list>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
#include <gtest/gtest.h>
#include "gromacs/utility/strconvert.h"
Tests for C++14-compatible implementation of std::string_view.
These tests are similer to those used in commit bf5824916b6895ccab0dbc2431520ee3b6d4f27f of https://github.com/martinmoene/string_view-lite.git. The code has not been linted with uncrustify so that any future updates to this active repo can be incorporated easily, and //NOLINT comments added to suppress clang-tidy warnings. The form of those changes have been made to simplify the contents, while making it easy to import any bug fixes that may appear in the source repository.