chromium/mojo/public/js/ts/bindings/tests/enums.test-mojom

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module mojo.tstest;

enum EmptyEnum {};

enum EnumWithNoValues {
  ZERO,
  ONE,
  TWO,
};

enum EnumWithFirstValue {
  FIVE = 5,
  SIX,
  SEVEN,
};

enum EnumWithLastValue {
  ZERO,
  ONE,
  TEN = 10,
};

enum EnumWithInterspersedValues {
  ZERO,
  THREE = 3,
  FOUR,
  EIGHT = 8,
  NINE,
};