#include "src/codegen/source-position-table.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
namespace interpreter {
class SourcePositionTableTest : public TestWithIsolate { … };
static int offsets[] = …;
TEST_F(SourcePositionTableTest, EncodeStatement) { … }
TEST_F(SourcePositionTableTest, EncodeStatementDuplicates) { … }
TEST_F(SourcePositionTableTest, EncodeExpression) { … }
TEST_F(SourcePositionTableTest, EncodeAscendingPositive) { … }
TEST_F(SourcePositionTableTest, EncodeAscendingNegative) { … }
}
}
}