Sha256: 0d2feb1ccc3674b93e9d6e46292a840e647a2380a56b59b1fc4e10ec2b949220
Contents?: true
Size: 953 Bytes
Versions: 1
Compression:
Stored size: 953 Bytes
Contents
require 'test_helper' class Ccls::TranslationTableTest < ActiveSupport::TestCase test "YNDK valid values" do assert_equal YNDK.valid_values, [1,2,999] end test "YNDK selector options" do assert_equal YNDK.selector_options, [['Yes',1],['No',2],["Don't Know",999]] end test "YNODK valid values" do assert_equal YNODK.valid_values, [1,2,3,999] end test "YNODK selector options" do assert_equal YNODK.selector_options, [['Yes',1],['No',2],['Other',3],["Don't Know",999]] end test "YNRDK valid values" do assert_equal YNRDK.valid_values, [1,2,999,888] end test "YNRDK selector options" do assert_equal YNRDK.selector_options, [['Yes',1],['No',2],["Don't Know",999],['Refused',888]] end test "ADNA valid values" do assert_equal ADNA.valid_values, [1,2,555,999] end test "ADNA selector options" do assert_equal ADNA.selector_options, [['Agree',1],['Do Not Agree',2],['N/A',555],["Don't Know",999]] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ccls-ccls_engine-3.11.0 | test/unit/ccls/translation_table_test.rb |