#include "src/init/v8.h"
#include "src/interpreter/bytecode-array-builder.h"
#include "src/interpreter/bytecode-array-random-iterator.h"
#include "src/numbers/hash-seed-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/smi.h"
#include "test/unittests/interpreter/bytecode-utils.h"
#include "test/unittests/test-utils.h"
namespace v8 {
namespace internal {
namespace interpreter {
class BytecodeArrayRandomIteratorTest : public TestWithIsolateAndZone { … };
TEST_F(BytecodeArrayRandomIteratorTest, InvalidBeforeStart) { … }
TEST_F(BytecodeArrayRandomIteratorTest, InvalidAfterEnd) { … }
TEST_F(BytecodeArrayRandomIteratorTest, AccessesFirst) { … }
TEST_F(BytecodeArrayRandomIteratorTest, AccessesLast) { … }
TEST_F(BytecodeArrayRandomIteratorTest, RandomAccessValid) { … }
TEST_F(BytecodeArrayRandomIteratorTest, IteratesBytecodeArray) { … }
TEST_F(BytecodeArrayRandomIteratorTest, IteratesBytecodeArrayBackwards) { … }
}
}
}