Sha256: 2bafba17e84ee1030f114408af355e5d24df10b716f815b62cb171b1f0b30710
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require_relative 'helper' class TestFakerGenderCN < Test::Unit::TestCase include DeterministicHelper assert_methods_are_deterministic(FFakerTW::GenderCN, :random) def setup @tester = FFakerTW::GenderCN end def test_random gender_regex = /\A[男女]\z/ assert_match(gender_regex, @tester.random) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | test/test_gender_cn.rb |