latinverb 0.2.0 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +0 -1
- data/Gemfile +1 -2
- data/README.markdown +54 -240
- data/etc/irreg_skel.json +104 -0
- data/{latinirb.gemspec → latinverb.gemspec} +4 -4
- data/lib/latinverb/chart.rb +94 -0
- data/lib/latinverb/version.rb +10 -0
- data/lib/latinverb.rb +710 -0
- data/lib/linguistics/latin/verb/classification_types.rb +59 -0
- data/lib/linguistics/latin/verb/constants.rb +201 -0
- data/lib/linguistics/latin/verb/deponent_tense_methods.rb +98 -0
- data/lib/linguistics/latin/verb/infinitives.rb +212 -0
- data/lib/linguistics/latin/verb/irregulars.rb +4393 -0
- data/lib/linguistics/latin/verb/latinverb/auxiliary_classes.rb +208 -0
- data/lib/linguistics/latin/verb/latinverb/classmethods.rb +215 -0
- data/lib/linguistics/latin/verb/latinverb/data.rb +90 -0
- data/lib/linguistics/latin/verb/latinverb/display.rb +23 -0
- data/lib/linguistics/latin/verb/latinverb/metaprogramming.rb +79 -0
- data/lib/linguistics/latin/verb/latinverb/validation.rb +66 -0
- data/lib/linguistics/latin/verb/participles.rb +202 -0
- data/lib/linguistics/latin/verb/phonographia.rb +109 -0
- data/lib/linguistics/latin/verb/supine.rb +42 -0
- data/lib/linguistics/latin/verb/tense_methods.rb +950 -0
- data/test/testAmbiguousLookups.rb +30 -0
- data/test/testClusterResolution.rb +20 -0
- data/test/testDataStructures.rb +29 -0
- data/test/testDefectSemiImp.rb +111 -0
- data/test/testDeponentFirstConjugation.rb +64 -0
- data/test/testDeponentFourthConjugation.rb +64 -0
- data/test/testDeponentSecondConjugation.rb +64 -0
- data/test/testDeponentThirdConjugation.rb +64 -0
- data/test/testDeponentThirdIOConjugation.rb +64 -0
- data/test/testDeserializeInfinitives.rb +38 -0
- data/test/testFirstConjugation.rb +388 -0
- data/test/testFourthConjugation.rb +190 -0
- data/test/testFreakishVerbs.rb +93 -0
- data/test/testImperativeBlock.rb +27 -0
- data/test/testIrregularSum.rb +22 -0
- data/test/testIrregulars.rb +652 -0
- data/test/testLatinVerb.rb +195 -0
- data/test/testMacronRules.rb +19 -0
- data/test/testSecondConjugation.rb +189 -0
- data/test/testThirdConjugation.rb +190 -0
- data/test/testThirdIOConjugation.rb +190 -0
- metadata +70 -18
- data/bin/latinirb.rb +0 -7
- data/latinverb.rb +0 -544
- data/lib/LatinIRB.rb +0 -172
- data/lib/latinirb/paradigmatic_verbs.rb +0 -17
- data/lib/latinirb/version.rb +0 -10
- data/lib/latirb.rb +0 -20
@@ -0,0 +1,652 @@
|
|
1
|
+
#encoding: UTF-8
|
2
|
+
|
3
|
+
require 'minitest/autorun'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
7
|
+
require 'latinverb'
|
8
|
+
require 'linguistics/latin/verb/classification_types'
|
9
|
+
|
10
|
+
# Internal dependencies
|
11
|
+
|
12
|
+
class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
13
|
+
def test_to_give
|
14
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'dō dāre dedī datum'
|
15
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
16
|
+
|
17
|
+
assert_match /dāns/, v.present_active_participle
|
18
|
+
assert_match /datus/, v.perfect_passive_participle
|
19
|
+
assert_match /datūrus/, v.future_active_participle
|
20
|
+
assert_match /dandus/, v.future_passive_participle
|
21
|
+
|
22
|
+
end
|
23
|
+
def test_to_eat
|
24
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'edō ēsse ēdī ēsum'
|
25
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
26
|
+
|
27
|
+
assert_equal "edō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
28
|
+
assert_match %r"ēs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
29
|
+
assert_match %r"ēst",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
30
|
+
assert_equal "edimus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
31
|
+
assert_match %r"ēstis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
32
|
+
assert_equal "edunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
33
|
+
|
34
|
+
assert_equal "edēbam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
35
|
+
assert_equal "edēbāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
36
|
+
|
37
|
+
assert_equal "edam", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
38
|
+
assert_equal "edēmus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
39
|
+
|
40
|
+
assert_equal "ēdī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
41
|
+
assert_equal "ēdimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
42
|
+
|
43
|
+
assert_equal "ēderam", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
44
|
+
assert_equal "ēderāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
45
|
+
|
46
|
+
assert_equal "ēderō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
47
|
+
assert_equal "ēderimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
48
|
+
|
49
|
+
# Subj.
|
50
|
+
assert_match %r"edam", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
51
|
+
assert_match %r"edās", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
52
|
+
assert_match %r"edat", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
53
|
+
assert_match %r"edāmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
54
|
+
assert_match %r"edātis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
55
|
+
assert_match %r"edant", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
56
|
+
|
57
|
+
assert_match %r"ederem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
58
|
+
assert_match %r"ēssēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
59
|
+
|
60
|
+
assert_equal "ēderim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
61
|
+
assert_equal "ēderimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
62
|
+
|
63
|
+
assert_equal "ēdissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
64
|
+
assert_equal "ēdissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
65
|
+
|
66
|
+
assert_equal "ēsse", v.present_active_infinitive
|
67
|
+
assert_equal "ēdisse", v.perfect_active_infinitive
|
68
|
+
assert_match %r"ēsūru[ms]", v.future_active_infinitive
|
69
|
+
assert_equal "", v.present_passive_infinitive
|
70
|
+
assert_equal "", v.perfect_passive_infinitive
|
71
|
+
assert_equal "", v.future_passive_infinitive
|
72
|
+
|
73
|
+
# Participles
|
74
|
+
assert_match /edēns/, v.present_active_participle
|
75
|
+
assert_equal '', v.perfect_passive_participle
|
76
|
+
assert_match %r'ēsūru[ms]', v.future_active_participle
|
77
|
+
assert_equal '', v.future_passive_participle
|
78
|
+
|
79
|
+
assert_equal "ēs", v.active_voice_imperative_mood_present_tense_second_person_singular_number
|
80
|
+
assert_equal "ēste",v.active_voice_imperative_mood_present_tense_second_person_plural_number
|
81
|
+
|
82
|
+
end
|
83
|
+
def test_to_be
|
84
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'sum esse fuī futūrus'
|
85
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
86
|
+
|
87
|
+
assert_equal "sum",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
88
|
+
assert_equal "es",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
89
|
+
assert_equal "est",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
90
|
+
assert_equal "sumus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
91
|
+
assert_equal "estis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
92
|
+
assert_equal "sunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
93
|
+
|
94
|
+
assert_equal "eram", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
95
|
+
assert_equal "erāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
96
|
+
|
97
|
+
assert_equal "erō", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
98
|
+
assert_equal "erimus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
99
|
+
|
100
|
+
assert_equal "fuī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
101
|
+
assert_equal "fuimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
102
|
+
|
103
|
+
assert_equal "fueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
104
|
+
assert_equal "fuerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
105
|
+
|
106
|
+
assert_equal "fuerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
107
|
+
assert_equal "fuerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
108
|
+
|
109
|
+
# Subj.
|
110
|
+
assert_equal "sim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
111
|
+
assert_equal "sīs", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
112
|
+
assert_equal "sit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
113
|
+
assert_equal "sīmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
114
|
+
assert_equal "sītis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
115
|
+
assert_equal "sint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
116
|
+
|
117
|
+
assert_match %r"essem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
118
|
+
assert_match %r"essēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
119
|
+
|
120
|
+
assert_equal "fuerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
121
|
+
assert_equal "fuerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
122
|
+
|
123
|
+
assert_equal "fuissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
124
|
+
assert_equal "fuissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
125
|
+
|
126
|
+
assert_equal "esse", v.present_active_infinitive
|
127
|
+
assert_equal "fuisse", v.perfect_active_infinitive
|
128
|
+
assert_match %r"futūru[ms]", v.future_active_infinitive
|
129
|
+
assert_equal "", v.present_passive_infinitive
|
130
|
+
assert_equal "", v.perfect_passive_infinitive
|
131
|
+
assert_equal "", v.future_passive_infinitive
|
132
|
+
|
133
|
+
|
134
|
+
assert_equal "es", v.active_voice_imperative_mood_present_tense_second_person_singular_number
|
135
|
+
assert_equal "este",v.active_voice_imperative_mood_present_tense_second_person_plural_number
|
136
|
+
|
137
|
+
# Participles
|
138
|
+
assert_match 'ens', v.present_active_participle
|
139
|
+
assert_match '', v.perfect_passive_participle
|
140
|
+
assert_match 'futūrus', v.future_active_participle
|
141
|
+
assert_match '', v.future_passive_participle
|
142
|
+
|
143
|
+
end
|
144
|
+
def test_to_bear
|
145
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'ferō ferre tulī lātum'
|
146
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
147
|
+
|
148
|
+
assert_equal "ferō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
149
|
+
assert_equal "fers",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
150
|
+
assert_equal "fert",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
151
|
+
assert_equal "ferimus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
152
|
+
assert_equal "feritis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
153
|
+
assert_equal "ferunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
154
|
+
|
155
|
+
assert_equal "ferēbam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
156
|
+
assert_equal "ferēbāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
157
|
+
|
158
|
+
assert_equal "feram", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
159
|
+
assert_equal "ferēmus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
160
|
+
|
161
|
+
assert_equal "tulī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
162
|
+
assert_equal "tulimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
163
|
+
|
164
|
+
assert_equal "tuleram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
165
|
+
assert_equal "tulerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
166
|
+
|
167
|
+
assert_equal "tulerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
168
|
+
assert_equal "tulerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
169
|
+
|
170
|
+
# Subj.
|
171
|
+
assert_equal "feram", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
172
|
+
assert_equal "ferās", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
173
|
+
assert_equal "ferat", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
174
|
+
assert_equal "ferāmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
175
|
+
assert_equal "ferātis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
176
|
+
assert_equal "ferant", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
177
|
+
|
178
|
+
assert_equal "ferrem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
179
|
+
assert_equal "ferrēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
180
|
+
|
181
|
+
assert_equal "tulerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
182
|
+
assert_equal "tulerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
183
|
+
|
184
|
+
assert_equal "tulissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
185
|
+
assert_equal "tulissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
186
|
+
|
187
|
+
assert_equal "ferre", v.present_active_infinitive
|
188
|
+
assert_equal "tulisse", v.perfect_active_infinitive
|
189
|
+
assert_match %r"lātūrus", v.future_active_infinitive
|
190
|
+
assert_equal "ferrī", v.present_passive_infinitive
|
191
|
+
assert_match %r"lātus", v.perfect_passive_infinitive
|
192
|
+
assert_match %r"lātūrus īrī", v.future_passive_infinitive
|
193
|
+
|
194
|
+
# Participles
|
195
|
+
assert_match %r'ferēns', v.present_active_participle
|
196
|
+
assert_match %r'lātus', v.perfect_passive_participle
|
197
|
+
assert_match %r'lātūrus', v.future_active_participle
|
198
|
+
assert_match %r'ferendus', v.future_passive_participle
|
199
|
+
|
200
|
+
assert_match "lātū lātum", v.supine.values.join(' ')
|
201
|
+
end
|
202
|
+
def test_to_go
|
203
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'eō īre ivī itum'
|
204
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
205
|
+
|
206
|
+
assert_equal "eō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
207
|
+
assert_equal "īs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
208
|
+
assert_equal "it",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
209
|
+
assert_equal "īmus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
210
|
+
assert_equal "ītis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
211
|
+
assert_equal "eunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
212
|
+
|
213
|
+
assert_equal "ībam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
214
|
+
assert_equal "ībāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
215
|
+
|
216
|
+
assert_equal "ībō", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
217
|
+
assert_equal "ībimus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
218
|
+
|
219
|
+
assert_equal "iī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
220
|
+
assert_equal "iimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
221
|
+
|
222
|
+
assert_equal "ieram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
223
|
+
assert_equal "ierāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
224
|
+
|
225
|
+
assert_equal "ierō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
226
|
+
assert_equal "ierimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
227
|
+
|
228
|
+
# Subj.
|
229
|
+
assert_equal "eam", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
230
|
+
assert_equal "eās", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
231
|
+
assert_equal "eat", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
232
|
+
assert_equal "eāmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
233
|
+
assert_equal "eātis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
234
|
+
assert_equal "eant", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
235
|
+
|
236
|
+
assert_equal "īrem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
237
|
+
assert_equal "īrēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
238
|
+
|
239
|
+
assert_equal "ierim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
240
|
+
assert_equal "ierimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
241
|
+
|
242
|
+
assert_equal "īssem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
243
|
+
assert_equal "īssēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
244
|
+
|
245
|
+
assert_equal "īre", v.present_active_infinitive
|
246
|
+
assert_equal "īsse", v.perfect_active_infinitive
|
247
|
+
assert_match %r"itūru[ms]", v.future_active_infinitive
|
248
|
+
assert_equal "īrī", v.present_passive_infinitive
|
249
|
+
assert_match %r"itum esse", v.perfect_passive_infinitive
|
250
|
+
assert_match %r"", v.future_passive_infinitive
|
251
|
+
|
252
|
+
# Participles
|
253
|
+
assert_match %r'iēns', v.present_active_participle
|
254
|
+
assert_match '', v.perfect_passive_participle
|
255
|
+
assert_match %r'itūrus', v.future_active_participle
|
256
|
+
assert_match %r'eundum', v.future_passive_participle
|
257
|
+
|
258
|
+
end
|
259
|
+
|
260
|
+
def test_to_not_wish
|
261
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'nōlō nōlle nōluī'
|
262
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
263
|
+
|
264
|
+
assert_equal "nōlō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
265
|
+
assert_equal "nōn vīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
266
|
+
assert_equal "nōn vult",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
267
|
+
assert_equal "nōlumus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
268
|
+
assert_equal "nōn vultis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
269
|
+
assert_equal "nōlunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
270
|
+
|
271
|
+
assert_equal "nōlēbam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
272
|
+
assert_equal "nōlēbāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
273
|
+
|
274
|
+
assert_equal "nōlam", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
275
|
+
assert_equal "nōlēmus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
276
|
+
|
277
|
+
assert_equal "nōluī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
278
|
+
assert_equal "nōluimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
279
|
+
|
280
|
+
assert_equal "nōlueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
281
|
+
assert_equal "nōluerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
282
|
+
|
283
|
+
assert_equal "nōluerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
284
|
+
assert_equal "nōluerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
285
|
+
|
286
|
+
# Subj.
|
287
|
+
assert_equal "nōlim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
288
|
+
assert_equal "nōlis", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
289
|
+
assert_equal "nōlit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
290
|
+
assert_equal "nōlimus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
291
|
+
assert_equal "nōlitis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
292
|
+
assert_equal "nōlint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
293
|
+
|
294
|
+
assert_equal "nōllem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
295
|
+
assert_equal "nōllēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
296
|
+
|
297
|
+
assert_equal "nōluerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
298
|
+
assert_equal "nōluerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
299
|
+
|
300
|
+
assert_equal "nōluissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
301
|
+
assert_equal "nōluissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
302
|
+
|
303
|
+
assert_equal "nōlle", v.present_active_infinitive
|
304
|
+
assert_equal "nōluisse", v.perfect_active_infinitive
|
305
|
+
|
306
|
+
# Participles
|
307
|
+
assert_match %r'nōlēns', v.present_active_participle
|
308
|
+
assert_equal '', v.perfect_passive_participle
|
309
|
+
assert_equal '', v.future_active_participle
|
310
|
+
assert_equal '', v.future_passive_participle
|
311
|
+
end
|
312
|
+
|
313
|
+
def test_to_wish
|
314
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'volō velle voluī'
|
315
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
316
|
+
|
317
|
+
assert_equal "volō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
318
|
+
assert_equal "vīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
319
|
+
assert_equal "vult",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
320
|
+
assert_equal "volumus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
321
|
+
assert_equal "vultis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
322
|
+
assert_equal "volunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
323
|
+
|
324
|
+
assert_equal "volēbam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
325
|
+
assert_equal "volēbāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
326
|
+
|
327
|
+
assert_equal "volam", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
328
|
+
assert_equal "volēmus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
329
|
+
|
330
|
+
assert_equal "voluī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
331
|
+
assert_equal "voluimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
332
|
+
|
333
|
+
assert_equal "volueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
334
|
+
assert_equal "voluerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
335
|
+
|
336
|
+
assert_equal "voluerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
337
|
+
assert_equal "voluerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
338
|
+
|
339
|
+
# Subj.
|
340
|
+
assert_equal "velim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
341
|
+
assert_equal "velīs", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
342
|
+
assert_equal "velit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
343
|
+
assert_equal "velīmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
344
|
+
assert_equal "velītis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
345
|
+
assert_equal "velint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
346
|
+
|
347
|
+
assert_equal "vellem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
348
|
+
assert_equal "vellēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
349
|
+
|
350
|
+
assert_equal "voluerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
351
|
+
assert_equal "voluerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
352
|
+
|
353
|
+
assert_equal "voluerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
354
|
+
assert_equal "voluerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
355
|
+
|
356
|
+
assert_equal "voluissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
357
|
+
assert_equal "voluissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
358
|
+
|
359
|
+
assert_equal "velle", v.present_active_infinitive
|
360
|
+
assert_equal "voluisse", v.perfect_active_infinitive
|
361
|
+
|
362
|
+
# Participles
|
363
|
+
assert_match %r'volēns', v.present_active_participle
|
364
|
+
assert_equal '', v.perfect_passive_participle
|
365
|
+
assert_equal '', v.future_active_participle
|
366
|
+
assert_equal '', v.future_passive_participle
|
367
|
+
end
|
368
|
+
def test_to_be_able
|
369
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'queō quīre quīvī'
|
370
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
371
|
+
|
372
|
+
assert_equal "queō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
373
|
+
assert_equal "quīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
374
|
+
assert_equal "quit",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
375
|
+
assert_equal "quīmus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
376
|
+
assert_equal "quītis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
377
|
+
assert_equal "queunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
378
|
+
|
379
|
+
assert_equal "quībam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
380
|
+
assert_equal "quībat", v.active_voice_indicative_mood_imperfect_tense_third_person_singular_number
|
381
|
+
assert_equal "", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
382
|
+
|
383
|
+
assert_equal "quībō", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
384
|
+
assert_equal "quībunt", v.active_voice_indicative_mood_future_tense_third_person_plural_number
|
385
|
+
|
386
|
+
assert_equal "quīvī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
387
|
+
|
388
|
+
assert_equal "", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
389
|
+
assert_equal "", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
390
|
+
|
391
|
+
assert_equal "", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
392
|
+
assert_equal "", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
393
|
+
|
394
|
+
# Subj.
|
395
|
+
assert_equal "queam", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
396
|
+
assert_equal "queās", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
397
|
+
assert_equal "queat", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
398
|
+
assert_equal "queāmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
399
|
+
assert_equal "", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
400
|
+
assert_equal "queant", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
401
|
+
|
402
|
+
assert_equal "", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
403
|
+
assert_equal "", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
404
|
+
|
405
|
+
assert_equal "", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
406
|
+
assert_equal "", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
407
|
+
|
408
|
+
assert_equal "", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
409
|
+
assert_equal "", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
410
|
+
|
411
|
+
assert_equal "quīre", v.present_active_infinitive
|
412
|
+
assert_equal "quīsse", v.perfect_active_infinitive
|
413
|
+
assert_match "", v.future_active_infinitive
|
414
|
+
assert_equal "", v.present_passive_infinitive
|
415
|
+
assert_match "", v.perfect_passive_infinitive
|
416
|
+
assert_match %r"", v.future_passive_infinitive
|
417
|
+
|
418
|
+
# Participles
|
419
|
+
assert_match %r'quiēns', v.present_active_participle
|
420
|
+
assert_match '', v.perfect_passive_participle
|
421
|
+
assert_match '', v.future_active_participle
|
422
|
+
assert_match '', v.future_passive_participle
|
423
|
+
|
424
|
+
end
|
425
|
+
def test_to_be_able2
|
426
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'possum posse potuī'
|
427
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
428
|
+
|
429
|
+
assert_equal "possum",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
430
|
+
assert_equal "potes",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
431
|
+
assert_equal "potest",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
432
|
+
assert_equal "possumus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
433
|
+
assert_equal "potestis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
434
|
+
assert_equal "possunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
435
|
+
|
436
|
+
assert_equal "poteram", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
437
|
+
assert_equal "poterāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
438
|
+
|
439
|
+
assert_equal "poterō", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
440
|
+
assert_equal "poterimus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
441
|
+
|
442
|
+
assert_equal "potuī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
443
|
+
assert_equal "potuimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
444
|
+
|
445
|
+
assert_equal "potueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
446
|
+
assert_equal "potuerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
447
|
+
|
448
|
+
assert_equal "potuerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
449
|
+
assert_equal "potuerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
450
|
+
|
451
|
+
# Subj.
|
452
|
+
assert_equal "possim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
453
|
+
assert_equal "possīs", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
454
|
+
assert_equal "possit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
455
|
+
assert_equal "possīmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
456
|
+
assert_equal "possītis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
457
|
+
assert_equal "possint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
458
|
+
|
459
|
+
assert_equal "possem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
460
|
+
assert_equal "possēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
461
|
+
|
462
|
+
assert_equal 'possim', v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
463
|
+
assert_equal 'possīmus', v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
464
|
+
|
465
|
+
assert_equal 'possem', v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
466
|
+
assert_equal 'possēmus', v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
467
|
+
|
468
|
+
assert_equal "potuerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
469
|
+
assert_equal "potuerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
470
|
+
|
471
|
+
assert_equal "potuissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
472
|
+
assert_equal "potuissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
473
|
+
|
474
|
+
assert_equal "posse", v.present_active_infinitive
|
475
|
+
assert_equal "potuisse", v.perfect_active_infinitive
|
476
|
+
|
477
|
+
assert_match 'potēns', v.present_active_participle
|
478
|
+
assert_equal '', v.perfect_passive_participle
|
479
|
+
assert_equal '', v.future_active_participle
|
480
|
+
assert_equal '', v.future_passive_participle
|
481
|
+
end
|
482
|
+
def test_to_be_made
|
483
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'fiō fiērī factus'
|
484
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
485
|
+
|
486
|
+
assert_equal "fiō",v.passive_voice_indicative_mood_present_tense_first_person_singular_number
|
487
|
+
assert_equal "fīs",v.passive_voice_indicative_mood_present_tense_second_person_singular_number
|
488
|
+
assert_equal "fit",v.passive_voice_indicative_mood_present_tense_third_person_singular_number
|
489
|
+
assert_equal "fīmus",v.passive_voice_indicative_mood_present_tense_first_person_plural_number
|
490
|
+
assert_equal "fītis",v.passive_voice_indicative_mood_present_tense_second_person_plural_number
|
491
|
+
assert_equal "fiunt",v.passive_voice_indicative_mood_present_tense_third_person_plural_number
|
492
|
+
|
493
|
+
assert_equal "fiēbam", v.passive_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
494
|
+
assert_equal "fiēbāmus", v.passive_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
495
|
+
|
496
|
+
assert_equal "fiam", v.passive_voice_indicative_mood_future_tense_first_person_singular_number
|
497
|
+
assert_equal "fiēmus", v.passive_voice_indicative_mood_future_tense_first_person_plural_number
|
498
|
+
|
499
|
+
assert_match %r"factu[ms] sum", v.passive_voice_indicative_mood_perfect_tense_first_person_singular_number
|
500
|
+
assert_match %r"factu[ms] sumus", v.passive_voice_indicative_mood_perfect_tense_first_person_plural_number
|
501
|
+
|
502
|
+
assert_match %r"factu[ms] eram", v.passive_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
503
|
+
assert_match %r"factu[ms] erāmus", v.passive_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
504
|
+
|
505
|
+
assert_match %r"factu[ms] erō", v.passive_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
506
|
+
assert_match %r"factu[ms] erimus", v.passive_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
507
|
+
|
508
|
+
# Subj.
|
509
|
+
assert_equal "fiam", v.passive_voice_subjunctive_mood_present_tense_first_person_singular_number
|
510
|
+
assert_equal "fiās", v.passive_voice_subjunctive_mood_present_tense_second_person_singular_number
|
511
|
+
assert_equal "fiat", v.passive_voice_subjunctive_mood_present_tense_third_person_singular_number
|
512
|
+
assert_equal "fiāmus", v.passive_voice_subjunctive_mood_present_tense_first_person_plural_number
|
513
|
+
assert_equal "fiātis", v.passive_voice_subjunctive_mood_present_tense_second_person_plural_number
|
514
|
+
assert_equal "fiant", v.passive_voice_subjunctive_mood_present_tense_third_person_plural_number
|
515
|
+
|
516
|
+
assert_equal "fierem", v.passive_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
517
|
+
assert_equal "fierēmus", v.passive_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
518
|
+
|
519
|
+
assert_match %r"factu[ms] sim", v.passive_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
520
|
+
assert_match %r"factu[ms] sīmus", v.passive_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
521
|
+
|
522
|
+
assert_match %r"factu[ms] essem", v.passive_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
523
|
+
assert_match %r"factu[ms] essēmus", v.passive_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
524
|
+
|
525
|
+
assert_equal "fierī", v.present_passive_infinitive
|
526
|
+
assert_equal "factus esse", v.perfect_passive_infinitive
|
527
|
+
|
528
|
+
assert_match %r'faciēns', v.present_active_participle
|
529
|
+
assert_match %r'factus', v.perfect_passive_participle
|
530
|
+
assert_match %r'factūrus', v.future_active_participle
|
531
|
+
assert_match %r'faciendus', v.future_passive_participle
|
532
|
+
end
|
533
|
+
def test_to_help
|
534
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'prōsum prōdesse prōfuī prōfutūrus'
|
535
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
536
|
+
|
537
|
+
#cf. A&G198
|
538
|
+
assert_equal "prōsum", v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
539
|
+
assert_equal "prōdēs", v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
540
|
+
assert_equal "prōdest", v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
541
|
+
assert_equal "prōsumus", v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
542
|
+
assert_equal "prōdestis", v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
543
|
+
assert_equal "prōsunt", v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
544
|
+
|
545
|
+
assert_equal "prōderam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
546
|
+
assert_equal "prōderāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
547
|
+
|
548
|
+
assert_equal "prōderō", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
549
|
+
assert_equal "prōderimus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
550
|
+
|
551
|
+
assert_equal "prōfuī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
552
|
+
assert_equal "prōfuimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
553
|
+
|
554
|
+
assert_equal "prōfueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
555
|
+
assert_equal "prōfuerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
556
|
+
|
557
|
+
assert_equal "prōfuerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
558
|
+
assert_equal "prōfuerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
559
|
+
|
560
|
+
# Subjunctive
|
561
|
+
|
562
|
+
assert_equal "prōsim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
563
|
+
assert_equal "prōsīs", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
564
|
+
assert_equal "prōsit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
565
|
+
assert_equal "prōsīmus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
566
|
+
assert_equal "prōsītis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
567
|
+
assert_equal "prōsint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
568
|
+
|
569
|
+
assert_equal "prōdessem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
570
|
+
assert_equal "prōdessēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
571
|
+
|
572
|
+
assert_equal "prōfuerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
573
|
+
assert_equal "prōfuerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
574
|
+
|
575
|
+
assert_equal "prōfuissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
576
|
+
assert_equal "prōfuissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
577
|
+
|
578
|
+
# Imperatives
|
579
|
+
|
580
|
+
assert_equal "prōdēs", v.active_voice_imperative_mood_present_tense_second_person_singular_number
|
581
|
+
assert_equal "prōdeste", v.active_voice_imperative_mood_present_tense_second_person_plural_number
|
582
|
+
assert_equal "prōdestō",v.active_voice_imperative_mood_future_tense_second_person_singular_number
|
583
|
+
assert_equal "prōdestōte", v.active_voice_imperative_mood_future_tense_second_person_plural_number
|
584
|
+
|
585
|
+
assert_equal 'prōdesse', v.pres_act_inf
|
586
|
+
assert_equal 'prōfuisse', v.perfect_active_infinitive
|
587
|
+
assert_match %r"prōfutūru[ms] esse", v.future_active_infinitive
|
588
|
+
|
589
|
+
# Participles
|
590
|
+
assert_match /prōfutūrus/, v.future_active_participle
|
591
|
+
|
592
|
+
end
|
593
|
+
|
594
|
+
def test_to_prefer
|
595
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'mālō mālle māluī'
|
596
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
597
|
+
|
598
|
+
assert_equal "mālō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
599
|
+
assert_equal "māvīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
600
|
+
assert_equal "māvult",v.active_voice_indicative_mood_present_tense_third_person_singular_number
|
601
|
+
assert_equal "mālumus",v.active_voice_indicative_mood_present_tense_first_person_plural_number
|
602
|
+
assert_equal "māvultis",v.active_voice_indicative_mood_present_tense_second_person_plural_number
|
603
|
+
assert_equal "mālunt",v.active_voice_indicative_mood_present_tense_third_person_plural_number
|
604
|
+
|
605
|
+
assert_equal "mālēbam", v.active_voice_indicative_mood_imperfect_tense_first_person_singular_number
|
606
|
+
assert_equal "mālēbāmus", v.active_voice_indicative_mood_imperfect_tense_first_person_plural_number
|
607
|
+
|
608
|
+
assert_equal "mālam", v.active_voice_indicative_mood_future_tense_first_person_singular_number
|
609
|
+
assert_equal "mālēmus", v.active_voice_indicative_mood_future_tense_first_person_plural_number
|
610
|
+
|
611
|
+
assert_equal "māluī", v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
612
|
+
assert_equal "māluimus", v.active_voice_indicative_mood_perfect_tense_first_person_plural_number
|
613
|
+
|
614
|
+
assert_equal "mālueram", v.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number
|
615
|
+
assert_equal "māluerāmus", v.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number
|
616
|
+
|
617
|
+
assert_equal "māluerō", v.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number
|
618
|
+
assert_equal "māluerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
619
|
+
|
620
|
+
# Subj.
|
621
|
+
assert_equal "mālim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
622
|
+
assert_equal "mālis", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
623
|
+
assert_equal "mālit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
624
|
+
assert_equal "mālimus", v.active_voice_subjunctive_mood_present_tense_first_person_plural_number
|
625
|
+
assert_equal "mālitis", v.active_voice_subjunctive_mood_present_tense_second_person_plural_number
|
626
|
+
assert_equal "mālint", v.active_voice_subjunctive_mood_present_tense_third_person_plural_number
|
627
|
+
|
628
|
+
assert_equal "māllem", v.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number
|
629
|
+
assert_equal "māllēmus", v.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number
|
630
|
+
|
631
|
+
assert_equal "māluerim", v.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number
|
632
|
+
assert_equal "māluerimus", v.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number
|
633
|
+
|
634
|
+
assert_equal "māluissem", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number
|
635
|
+
assert_equal "māluissēmus", v.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number
|
636
|
+
|
637
|
+
assert_equal "mālle", v.present_active_infinitive
|
638
|
+
assert_equal "māluisse", v.perfect_active_infinitive
|
639
|
+
|
640
|
+
# Participles
|
641
|
+
assert_equal '', v.present_active_participle
|
642
|
+
assert_equal '', v.perfect_passive_participle
|
643
|
+
assert_equal '', v.future_active_participle
|
644
|
+
assert_equal '', v.future_passive_participle
|
645
|
+
end
|
646
|
+
def test_to_be_meaning
|
647
|
+
v = Linguistics::Latin::Verb::LatinVerb.new 'sum esse fuī futūrus'
|
648
|
+
assert_equal Linguistics::Latin::Verb::VerbTypes::Irregular, v.classification
|
649
|
+
assert v.active_voice_indicative_mood_present_tense.meaning, "Irregulars should respond to meaning request."
|
650
|
+
assert v.active_voice_indicative_mood_imperfect_tense.meaning
|
651
|
+
end
|
652
|
+
end
|