mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
af99b5c398
Author: Gary Tsang git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@750171 13f79535-47bb-0310-9956-ffa450edef68
9 lines
331 B
Ruby
9 lines
331 B
Ruby
require File.join(File.dirname(__FILE__), '../test_helper')
|
|
require 'ThriftTest'
|
|
|
|
class TestEnumGeneration < Test::Unit::TestCase
|
|
include Thrift::Test
|
|
def test_enum_valid_values
|
|
assert_equal(Numberz::VALID_VALUES, Set.new([Numberz::ONE, Numberz::TWO, Numberz::THREE, Numberz::FIVE, Numberz::SIX, Numberz::EIGHT]))
|
|
end
|
|
end |