chromium/third_party/angle/src/tests/compiler_tests/FloatLex_test.cpp

//
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// FloatLex_test.cpp:
// Tests for parsing floats in GLSL source.
//

#include <sstream>
#include <string>

#include "common/debug.h"
#include "common/mathutil.h"
#include "compiler/translator/util.h"
#include "gtest/gtest.h"

namespace
{

class StrtofClampParser
{};

class NumericLexFloatParser
{};

}  // anonymous namespace

template <typename T>
class FloatLexTest : public ::testing::Test
{};

FloatParserTypes;
TYPED_TEST_SUITE();

TYPED_TEST(FloatLexTest, One)
{}

TYPED_TEST(FloatLexTest, Ten)
{}

TYPED_TEST(FloatLexTest, TenScientific)
{}

TYPED_TEST(FloatLexTest, ScientificWithSmallMantissa)
{}

TYPED_TEST(FloatLexTest, ScientificWithLargeMantissa)
{}

TYPED_TEST(FloatLexTest, ScientificWithVerySmallMantissa)
{}

TYPED_TEST(FloatLexTest, ScientificWithVeryLargeMantissa)
{}

TYPED_TEST(FloatLexTest, StartWithDecimalDot)
{}

TYPED_TEST(FloatLexTest, EndWithDecimalDot)
{}

TYPED_TEST(FloatLexTest, NoDecimalDot)
{}

TYPED_TEST(FloatLexTest, EndStartWithDecimalDotScientific)
{}

TYPED_TEST(FloatLexTest, EndWithDecimalDotScientific)
{}

TYPED_TEST(FloatLexTest, UppercaseE)
{}

TYPED_TEST(FloatLexTest, PlusInExponent)
{}

TYPED_TEST(FloatLexTest, SlightlyAboveMaxFloat)
{}

TYPED_TEST(FloatLexTest, SlightlyBelowMaxFloat)
{}

TYPED_TEST(FloatLexTest, SlightlyAboveMaxFloatLargerMantissa)
{}

TYPED_TEST(FloatLexTest, SlightlyBelowMaxFloatLargerMantissa)
{}

TYPED_TEST(FloatLexTest, SlightlyAboveMaxFloatSmallerMantissa)
{}

TYPED_TEST(FloatLexTest, SlightlyBelowMaxFloatSmallerMantissa)
{}

TYPED_TEST(FloatLexTest, SlightlyBelowMinSubnormalFloat)
{}

TYPED_TEST(FloatLexTest, SlightlyAboveMinNormalFloat)
{}

TYPED_TEST(FloatLexTest, ManySignificantDigits)
{}

TYPED_TEST(FloatLexTest, MantissaBitAboveMaxUint)
{}

TYPED_TEST(FloatLexTest, ExponentBitAboveMaxInt)
{}

TYPED_TEST(FloatLexTest, ExponentBitBelowMaxIntAndLargeMantissa)
{}

TYPED_TEST(FloatLexTest, ExponentBitAboveMinIntAndSmallMantissa)
{}