#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "third_party/blink/renderer/core/css/parser/sizes_math_function_parser.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/mojom/webpreferences/web_preferences.mojom-blink.h"
#include "third_party/blink/renderer/core/css/css_math_function_value.h"
#include "third_party/blink/renderer/core/css/css_to_length_conversion_data.h"
#include "third_party/blink/renderer/core/css/media_values_cached.h"
#include "third_party/blink/renderer/core/css/parser/css_parser.h"
#include "third_party/blink/renderer/core/css/parser/css_tokenizer.h"
#include "third_party/blink/renderer/core/execution_context/security_context.h"
#include "third_party/blink/renderer/core/media_type_names.h"
#include "third_party/blink/renderer/core/style/computed_style_initial_values.h"
#include "third_party/blink/renderer/platform/fonts/font.h"
namespace blink {
namespace {
const double epsilon = …;
}
struct SizesCalcTestCase { … };
#define EXPECT_APPROX_EQ(expected, actual) …
static void VerifyCSSCalc(String text,
double value,
bool valid,
unsigned font_size,
unsigned viewport_width,
unsigned viewport_height) { … }
TEST(SizesMathFunctionParserTest, Basic) { … }
}