# evennia.utils.verb_conjugation.tests

Unit tests for verb conjugation.

class `evennia.utils.verb_conjugation.tests.``TestVerbConjugate`(methodName='runTest')

  Bases: `django.test.testcases.TestCase`

  Test the conjugation.

  `test_verb_infinitive` = None
  `test_verb_conjugate` = None
  `test_verb_present` = None
  `test_verb_present_participle` = None
  `test_verb_past` = None
  `test_verb_past_participle` = None
  `test_verb_get_all_tenses`()

    Test getting all tenses.

  `test_verb_tense` = None
  `test_verb_is_tense` = None
  `test_verb_is_present` = None
  `test_verb_is_present_participle` = None
  `test_verb_is_past` = None
  `test_verb_is_past_participle` = None
  `test_verb_actor_stance_components` = None
  `test_verb_actor_stance_components_00_have`()

    Test the tense-checker [with verb=’have’, expected=(‘have’, ‘has’)]

  `test_verb_actor_stance_components_01_swimming`()

    Test the tense-checker [with verb=’swimming’, expected=(‘swimming’, ‘swimming’)]

  `test_verb_actor_stance_components_02_give`()

    Test the tense-checker [with verb=’give’, expected=(‘give’, ‘gives’)]

  `test_verb_actor_stance_components_03_given`()

    Test the tense-checker [with verb=’given’, expected=(‘given’, ‘given’)]

  `test_verb_actor_stance_components_04_am`()

    Test the tense-checker [with verb=’am’, expected=(‘are’, ‘is’)]

  `test_verb_actor_stance_components_05_doing`()

    Test the tense-checker [with verb=’doing’, expected=(‘doing’, ‘doing’)]

  `test_verb_actor_stance_components_06_are`()

    Test the tense-checker [with verb=’are’, expected=(‘are’, ‘is’)]

  `test_verb_actor_stance_components_07_had`()

    Test the tense-checker [with verb=’had’, expected=(‘had’, ‘had’)]

  `test_verb_actor_stance_components_08_grin`()

    Test the tense-checker [with verb=’grin’, expected=(‘grin’, ‘grins’)]

  `test_verb_actor_stance_components_09_smile`()

    Test the tense-checker [with verb=’smile’, expected=(‘smile’, ‘smiles’)]

  `test_verb_actor_stance_components_10_vex`()

    Test the tense-checker [with verb=’vex’, expected=(‘vex’, ‘vexes’)]

  `test_verb_actor_stance_components_11_thrust`()

    Test the tense-checker [with verb=’thrust’, expected=(‘thrust’, ‘thrusts’)]

  `test_verb_conjugate_0_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’have’, expected=’have’].

  `test_verb_conjugate_1_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’swim’, expected=’swim’].

  `test_verb_conjugate_2_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’give’, expected=’give’].

  `test_verb_conjugate_3_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’given’, expected=’give’].

  `test_verb_conjugate_4_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’am’, expected=’be’].

  `test_verb_conjugate_5_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’doing’, expected=’do’].

  `test_verb_conjugate_6_inf`()

    Test conjugation for different tenses [with tense=’inf’, verb=’are’, expected=’be’].

  `test_verb_conjugate_7_2sgpres`()

    Test conjugation for different tenses [with tense=’2sgpres’, verb=’am’, expected=’are’].

  `test_verb_conjugate_8_3sgpres`()

    Test conjugation for different tenses [with tense=’3sgpres’, verb=’am’, expected=’is’].

  `test_verb_infinitive_0_have`()

    Test the infinite-getter [with verb=’have’, expected=’have’].

  `test_verb_infinitive_1_swim`()

    Test the infinite-getter [with verb=’swim’, expected=’swim’].

  `test_verb_infinitive_2_give`()

    Test the infinite-getter [with verb=’give’, expected=’give’].

  `test_verb_infinitive_3_given`()

    Test the infinite-getter [with verb=’given’, expected=’give’].

  `test_verb_infinitive_4_am`()

    Test the infinite-getter [with verb=’am’, expected=’be’].

  `test_verb_infinitive_5_doing`()

    Test the infinite-getter [with verb=’doing’, expected=’do’].

  `test_verb_infinitive_6_are`()

    Test the infinite-getter [with verb=’are’, expected=’be’].

  `test_verb_is_past_0_1st`()

    Test the tense-checker [with person=’1st’, verb=’have’, expected=False]

  `test_verb_is_past_1_1st`()

    Test the tense-checker [with person=’1st’, verb=’swim’, expected=False]

  `test_verb_is_past_2_1st`()

    Test the tense-checker [with person=’1st’, verb=’give’, expected=False]

  `test_verb_is_past_3_1st`()

    Test the tense-checker [with person=’1st’, verb=’given’, expected=False]

  `test_verb_is_past_4_1st`()

    Test the tense-checker [with person=’1st’, verb=’am’, expected=False]

  `test_verb_is_past_5_1st`()

    Test the tense-checker [with person=’1st’, verb=’doing’, expected=False]

  `test_verb_is_past_6_1st`()

    Test the tense-checker [with person=’1st’, verb=’are’, expected=False]

  `test_verb_is_past_7_2nd`()

    Test the tense-checker [with person=’2nd’, verb=’were’, expected=True]

  `test_verb_is_past_participle_0_have`()

    Test the tense-checker [with verb=’have’, expected=False]

  `test_verb_is_past_participle_1_swimming`()

    Test the tense-checker [with verb=’swimming’, expected=False]

  `test_verb_is_past_participle_2_give`()

    Test the tense-checker [with verb=’give’, expected=False]

  `test_verb_is_past_participle_3_given`()

    Test the tense-checker [with verb=’given’, expected=True]

  `test_verb_is_past_participle_4_am`()

    Test the tense-checker [with verb=’am’, expected=False]

  `test_verb_is_past_participle_5_doing`()

    Test the tense-checker [with verb=’doing’, expected=False]

  `test_verb_is_past_participle_6_are`()

    Test the tense-checker [with verb=’are’, expected=False]

  `test_verb_is_past_participle_7_had`()

    Test the tense-checker [with verb=’had’, expected=False]

  `test_verb_is_present_0_1st`()

    Test the tense-checker [with person=’1st’, verb=’have’, expected=False]

  `test_verb_is_present_1_1st`()

    Test the tense-checker [with person=’1st’, verb=’swim’, expected=False]

  `test_verb_is_present_2_1st`()

    Test the tense-checker [with person=’1st’, verb=’give’, expected=False]

  `test_verb_is_present_3_1st`()

    Test the tense-checker [with person=’1st’, verb=’given’, expected=False]

  `test_verb_is_present_4_1st`()

    Test the tense-checker [with person=’1st’, verb=’am’, expected=True]

  `test_verb_is_present_5_1st`()

    Test the tense-checker [with person=’1st’, verb=’doing’, expected=False]

  `test_verb_is_present_6_1st`()

    Test the tense-checker [with person=’1st’, verb=’are’, expected=False]

  `test_verb_is_present_7_1st`()

    Test the tense-checker [with person=’1st’, verb=’had’, expected=False]

  `test_verb_is_present_participle_0_have`()

    Test the tense-checker [with verb=’have’, expected=False]

  `test_verb_is_present_participle_1_swim`()

    Test the tense-checker [with verb=’swim’, expected=False]

  `test_verb_is_present_participle_2_give`()

    Test the tense-checker [with verb=’give’, expected=False]

  `test_verb_is_present_participle_3_given`()

    Test the tense-checker [with verb=’given’, expected=False]

  `test_verb_is_present_participle_4_am`()

    Test the tense-checker [with verb=’am’, expected=False]

  `test_verb_is_present_participle_5_doing`()

    Test the tense-checker [with verb=’doing’, expected=True]

  `test_verb_is_present_participle_6_are`()

    Test the tense-checker [with verb=’are’, expected=False]

  `test_verb_is_tense_0_inf`()

    Test the tense-checker [with tense=’inf’, verb=’have’, expected=True]

  `test_verb_is_tense_1_inf`()

    Test the tense-checker [with tense=’inf’, verb=’swim’, expected=True]

  `test_verb_is_tense_2_inf`()

    Test the tense-checker [with tense=’inf’, verb=’give’, expected=True]

  `test_verb_is_tense_3_inf`()

    Test the tense-checker [with tense=’inf’, verb=’given’, expected=False]

  `test_verb_is_tense_4_inf`()

    Test the tense-checker [with tense=’inf’, verb=’am’, expected=False]

  `test_verb_is_tense_5_inf`()

    Test the tense-checker [with tense=’inf’, verb=’doing’, expected=False]

  `test_verb_is_tense_6_inf`()

    Test the tense-checker [with tense=’inf’, verb=’are’, expected=False]

  `test_verb_past_0_1st`()

    Test the past getter [with person=’1st’, verb=’have’, expected=’had’].

  `test_verb_past_1_1st`()

    Test the past getter [with person=’1st’, verb=’swim’, expected=’swam’].

  `test_verb_past_2_1st`()

    Test the past getter [with person=’1st’, verb=’give’, expected=’gave’].

  `test_verb_past_3_1st`()

    Test the past getter [with person=’1st’, verb=’given’, expected=’gave’].

  `test_verb_past_4_1st`()

    Test the past getter [with person=’1st’, verb=’am’, expected=’was’].

  `test_verb_past_5_1st`()

    Test the past getter [with person=’1st’, verb=’doing’, expected=’did’].

  `test_verb_past_6_1st`()

    Test the past getter [with person=’1st’, verb=’are’, expected=’was’].

  `test_verb_past_7_2nd`()

    Test the past getter [with person=’2nd’, verb=’were’, expected=’were’].

  `test_verb_past_participle_0_have`()

    Test the past participle [with verb=’have’, expected=’had’].

  `test_verb_past_participle_1_swim`()

    Test the past participle [with verb=’swim’, expected=’swum’].

  `test_verb_past_participle_2_give`()

    Test the past participle [with verb=’give’, expected=’given’].

  `test_verb_past_participle_3_given`()

    Test the past participle [with verb=’given’, expected=’given’].

  `test_verb_past_participle_4_am`()

    Test the past participle [with verb=’am’, expected=’been’].

  `test_verb_past_participle_5_doing`()

    Test the past participle [with verb=’doing’, expected=’done’].

  `test_verb_past_participle_6_are`()

    Test the past participle [with verb=’are’, expected=’been’].

  `test_verb_present_0_1st`()

    Test the present [with person=’1st’, verb=’have’, expected=’have’].

  `test_verb_present_1_1st`()

    Test the present [with person=’1st’, verb=’swim’, expected=’swim’].

  `test_verb_present_2_1st`()

    Test the present [with person=’1st’, verb=’give’, expected=’give’].

  `test_verb_present_3_1st`()

    Test the present [with person=’1st’, verb=’given’, expected=’give’].

  `test_verb_present_4_1st`()

    Test the present [with person=’1st’, verb=’am’, expected=’am’].

  `test_verb_present_5_1st`()

    Test the present [with person=’1st’, verb=’doing’, expected=’do’].

  `test_verb_present_6_1st`()

    Test the present [with person=’1st’, verb=’are’, expected=’am’].

  `test_verb_present_7_2nd`()

    Test the present [with person=’2nd’, verb=’were’, expected=’are’].

  `test_verb_present_8_3rd`()

    Test the present [with person=’3rd’, verb=’am’, expected=’is’].

  `test_verb_present_participle_0_have`()

    Test the present_participle [with verb=’have’, expected=’having’]

  `test_verb_present_participle_1_swim`()

    Test the present_participle [with verb=’swim’, expected=’swimming’]

  `test_verb_present_participle_2_give`()

    Test the present_participle [with verb=’give’, expected=’giving’]

  `test_verb_present_participle_3_given`()

    Test the present_participle [with verb=’given’, expected=’giving’]

  `test_verb_present_participle_4_am`()

    Test the present_participle [with verb=’am’, expected=’being’]

  `test_verb_present_participle_5_doing`()

    Test the present_participle [with verb=’doing’, expected=’doing’]

  `test_verb_present_participle_6_are`()

    Test the present_participle [with verb=’are’, expected=’being’]

  `test_verb_tense_0_have`()

    Test the tense retriever [with verb=’have’, expected=’infinitive’].

  `test_verb_tense_1_swim`()

    Test the tense retriever [with verb=’swim’, expected=’infinitive’].

  `test_verb_tense_2_give`()

    Test the tense retriever [with verb=’give’, expected=’infinitive’].

  `test_verb_tense_3_given`()

    Test the tense retriever [with verb=’given’, expected=’past participle’].

  `test_verb_tense_4_am`()

    Test the tense retriever [with verb=’am’, expected=’1st singular present’].

  `test_verb_tense_5_doing`()

    Test the tense retriever [with verb=’doing’, expected=’present participle’].

  `test_verb_tense_6_are`()

    Test the tense retriever [with verb=’are’, expected=’2nd singular present’].

class `evennia.utils.verb_conjugation.tests.``TestPronounMapping`(methodName='runTest')

  Bases: `django.test.testcases.TestCase`

  Test pronoun viewpoint mapping

  `test_mapping_with_options` = None
  `test_mapping_with_options_00_you`()

    Test the pronoun mapper [with pronoun=’you’, options=’m’, expected_1st_or_2nd_person=’you’, expected_3rd_person=’he’].

  `test_mapping_with_options_01_you`()

    Test the pronoun mapper [with pronoun=’you’, options=’f op’, expected_1st_or_2nd_person=’you’, expected_3rd_person=’her’].

  `test_mapping_with_options_02_I`()

    Test the pronoun mapper [with pronoun=’I’, options=’’, expected_1st_or_2nd_person=’I’, expected_3rd_person=’it’].

  `test_mapping_with_options_03_I`()

    Test the pronoun mapper [with pronoun=’I’, options=’p’, expected_1st_or_2nd_person=’I’, expected_3rd_person=’it’].

  `test_mapping_with_options_04_I`()

    Test the pronoun mapper [with pronoun=’I’, options=’m’, expected_1st_or_2nd_person=’I’, expected_3rd_person=’he’].

  `test_mapping_with_options_05_Me`()

    Test the pronoun mapper [with pronoun=’Me’, options=’n’, expected_1st_or_2nd_person=’Me’, expected_3rd_person=’It’].

  `test_mapping_with_options_06_your`()

    Test the pronoun mapper [with pronoun=’your’, options=’p’, expected_1st_or_2nd_person=’your’, expected_3rd_person=’their’].

  `test_mapping_with_options_07_ours`()

    Test the pronoun mapper [with pronoun=’ours’, options=’’, expected_1st_or_2nd_person=’ours’, expected_3rd_person=’theirs’].

  `test_mapping_with_options_08_yourself`()

    Test the pronoun mapper [with pronoun=’yourself’, options=’’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’itself’].

  `test_mapping_with_options_09_yourself`()

    Test the pronoun mapper [with pronoun=’yourself’, options=’m’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’himself’].

  `test_mapping_with_options_10_yourself`()

    Test the pronoun mapper [with pronoun=’yourself’, options=’f’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’herself’].

  `test_mapping_with_options_11_yourself`()

    Test the pronoun mapper [with pronoun=’yourself’, options=’p’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’itself’].

  `test_mapping_with_options_12_yourselves`()

    Test the pronoun mapper [with pronoun=’yourselves’, options=’’, expected_1st_or_2nd_person=’yourselves’, expected_3rd_person=’themselves’].

  `test_mapping_with_options_13_he`()

    Test the pronoun mapper [with pronoun=’he’, options=’’, expected_1st_or_2nd_person=’you’, expected_3rd_person=’he’].

  `test_mapping_with_options_14_he`()

    Test the pronoun mapper [with pronoun=’he’, options=’1’, expected_1st_or_2nd_person=’I’, expected_3rd_person=’he’].

  `test_mapping_with_options_15_he`()

    Test the pronoun mapper [with pronoun=’he’, options=’1 p’, expected_1st_or_2nd_person=’we’, expected_3rd_person=’he’].

  `test_mapping_with_options_16_her`()

    Test the pronoun mapper [with pronoun=’her’, options=’p’, expected_1st_or_2nd_person=’you’, expected_3rd_person=’her’].

  `test_mapping_with_options_17_her`()

    Test the pronoun mapper [with pronoun=’her’, options=’pa’, expected_1st_or_2nd_person=’your’, expected_3rd_person=’her’].

  `test_mapping_with_options_18_their`()

    Test the pronoun mapper [with pronoun=’their’, options=’pa’, expected_1st_or_2nd_person=’your’, expected_3rd_person=’their’].

  `test_mapping_with_options_19_their`()

    Test the pronoun mapper [with pronoun=’their’, options=’pa’, expected_1st_or_2nd_person=’your’, expected_3rd_person=’their’].

  `test_mapping_with_options_20_itself`()

    Test the pronoun mapper [with pronoun=’itself’, options=’’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’itself’].

  `test_mapping_with_options_21_themselves`()

    Test the pronoun mapper [with pronoun=’themselves’, options=’’, expected_1st_or_2nd_person=’yourselves’, expected_3rd_person=’themselves’].

  `test_mapping_with_options_22_herself`()

    Test the pronoun mapper [with pronoun=’herself’, options=’’, expected_1st_or_2nd_person=’yourself’, expected_3rd_person=’herself’].