latinverb 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -1
- data/Gemfile.lock +24 -0
- data/Guardfile +10 -0
- data/README.markdown +1 -1
- data/Rakefile +12 -9
- data/latinverb.gemspec +4 -0
- data/lib/latinverb/chart.rb +5 -5
- data/lib/latinverb/version.rb +1 -1
- data/lib/latinverb.rb +266 -534
- data/lib/linguistics/latin/verb/classification_types.rb +19 -17
- data/lib/linguistics/latin/verb/constants.rb +14 -14
- data/lib/linguistics/latin/verb/deponent_tense_methods.rb +8 -21
- data/lib/linguistics/latin/verb/imperative_block.rb +118 -0
- data/lib/linguistics/latin/verb/infinitive_block.rb +39 -0
- data/lib/linguistics/latin/verb/infinitives.rb +181 -181
- data/lib/linguistics/latin/verb/irregulars.rb +74 -74
- data/lib/linguistics/latin/verb/latinverb/classmethods.rb +36 -117
- data/lib/linguistics/latin/verb/latinverb/data.rb +12 -15
- data/lib/linguistics/latin/verb/latinverb/defective_checker.rb +17 -0
- data/lib/linguistics/latin/verb/latinverb/deponent.rb +159 -0
- data/lib/linguistics/latin/verb/latinverb/display.rb +1 -2
- data/lib/linguistics/latin/verb/latinverb/impersonal.rb +34 -0
- data/lib/linguistics/latin/verb/latinverb/irregular.rb +83 -0
- data/lib/linguistics/latin/verb/latinverb/latin_verb_type_evaluator.rb +32 -0
- data/lib/linguistics/latin/verb/latinverb/latinverb_classifier.rb +100 -0
- data/lib/linguistics/latin/verb/latinverb/latinverb_input_sanitizer.rb +32 -0
- data/lib/linguistics/latin/verb/latinverb/latinverb_pp_extractor.rb +106 -0
- data/lib/linguistics/latin/verb/latinverb/metaprogramming.rb +30 -29
- data/lib/linguistics/latin/verb/latinverb/semideponent.rb +28 -0
- data/lib/linguistics/latin/verb/latinverb/validation.rb +5 -29
- data/lib/linguistics/latin/verb/latinverb/verbvector_description.rb +50 -0
- data/lib/linguistics/latin/verb/participle_block.rb +36 -0
- data/lib/linguistics/latin/verb/participles.rb +25 -25
- data/lib/linguistics/latin/verb/phonographia.rb +51 -51
- data/lib/linguistics/latin/verb/supine.rb +6 -6
- data/lib/linguistics/latin/verb/tense_block.rb +227 -0
- data/lib/linguistics/latin/verb/tense_definitions/first.rb +92 -0
- data/lib/linguistics/latin/verb/tense_definitions/fourth.rb +92 -0
- data/lib/linguistics/latin/verb/tense_definitions/impersonal.rb +25 -0
- data/lib/linguistics/latin/verb/tense_definitions/invariant.rb +613 -0
- data/lib/linguistics/latin/verb/tense_definitions/irregular.rb +82 -0
- data/lib/linguistics/latin/verb/tense_definitions/second.rb +97 -0
- data/lib/linguistics/latin/verb/tense_definitions/third.rb +86 -0
- data/lib/linguistics/latin/verb/tense_definitions/third_io.rb +91 -0
- data/test/testClusterResolution.rb +0 -1
- data/test/testDataStructures.rb +8 -5
- data/test/testDefectSemiImp.rb +9 -10
- data/test/testDeponentFirstConjugation.rb +2 -2
- data/test/testDeponentFourthConjugation.rb +2 -2
- data/test/testDeponentSecondConjugation.rb +2 -2
- data/test/testDeponentThirdConjugation.rb +2 -2
- data/test/testDeponentThirdIOConjugation.rb +2 -2
- data/test/testDeserializeInfinitives.rb +2 -4
- data/test/testFirstConjugation.rb +53 -53
- data/test/testFourthConjugation.rb +11 -11
- data/test/testFreakishVerbs.rb +12 -11
- data/test/testIrregulars.rb +24 -23
- data/test/testLatinVerb.rb +46 -55
- data/test/testSecondConjugation.rb +27 -27
- data/test/testThirdConjugation.rb +14 -14
- data/test/testThirdIOConjugation.rb +13 -13
- metadata +95 -53
- data/lib/linguistics/latin/verb/latinverb/auxiliary_classes.rb +0 -208
- data/lib/linguistics/latin/verb/tense_methods.rb +0 -950
data/test/testIrregulars.rb
CHANGED
@@ -12,17 +12,17 @@ require 'linguistics/latin/verb/classification_types'
|
|
12
12
|
class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
13
13
|
def test_to_give
|
14
14
|
v = Linguistics::Latin::Verb::LatinVerb.new 'dō dāre dedī datum'
|
15
|
-
assert_equal Linguistics::Latin::Verb::
|
15
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
16
16
|
|
17
|
-
assert_match
|
18
|
-
assert_match
|
19
|
-
assert_match
|
20
|
-
assert_match
|
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
21
|
|
22
22
|
end
|
23
23
|
def test_to_eat
|
24
24
|
v = Linguistics::Latin::Verb::LatinVerb.new 'edō ēsse ēdī ēsum'
|
25
|
-
assert_equal Linguistics::Latin::Verb::
|
25
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
26
26
|
|
27
27
|
assert_equal "edō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
28
28
|
assert_match %r"ēs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -69,7 +69,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
69
69
|
assert_equal "", v.present_passive_infinitive
|
70
70
|
assert_equal "", v.perfect_passive_infinitive
|
71
71
|
assert_equal "", v.future_passive_infinitive
|
72
|
-
|
72
|
+
|
73
73
|
# Participles
|
74
74
|
assert_match /edēns/, v.present_active_participle
|
75
75
|
assert_equal '', v.perfect_passive_participle
|
@@ -82,7 +82,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
82
82
|
end
|
83
83
|
def test_to_be
|
84
84
|
v = Linguistics::Latin::Verb::LatinVerb.new 'sum esse fuī futūrus'
|
85
|
-
assert_equal Linguistics::Latin::Verb::
|
85
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
86
86
|
|
87
87
|
assert_equal "sum",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
88
88
|
assert_equal "es",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -129,7 +129,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
129
129
|
assert_equal "", v.present_passive_infinitive
|
130
130
|
assert_equal "", v.perfect_passive_infinitive
|
131
131
|
assert_equal "", v.future_passive_infinitive
|
132
|
-
|
132
|
+
|
133
133
|
|
134
134
|
assert_equal "es", v.active_voice_imperative_mood_present_tense_second_person_singular_number
|
135
135
|
assert_equal "este",v.active_voice_imperative_mood_present_tense_second_person_plural_number
|
@@ -143,7 +143,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
143
143
|
end
|
144
144
|
def test_to_bear
|
145
145
|
v = Linguistics::Latin::Verb::LatinVerb.new 'ferō ferre tulī lātum'
|
146
|
-
assert_equal Linguistics::Latin::Verb::
|
146
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
147
147
|
|
148
148
|
assert_equal "ferō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
149
149
|
assert_equal "fers",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -201,7 +201,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
201
201
|
end
|
202
202
|
def test_to_go
|
203
203
|
v = Linguistics::Latin::Verb::LatinVerb.new 'eō īre ivī itum'
|
204
|
-
assert_equal Linguistics::Latin::Verb::
|
204
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
205
205
|
|
206
206
|
assert_equal "eō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
207
207
|
assert_equal "īs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -259,7 +259,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
259
259
|
|
260
260
|
def test_to_not_wish
|
261
261
|
v = Linguistics::Latin::Verb::LatinVerb.new 'nōlō nōlle nōluī'
|
262
|
-
assert_equal Linguistics::Latin::Verb::
|
262
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
263
263
|
|
264
264
|
assert_equal "nōlō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
265
265
|
assert_equal "nōn vīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -312,7 +312,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
312
312
|
|
313
313
|
def test_to_wish
|
314
314
|
v = Linguistics::Latin::Verb::LatinVerb.new 'volō velle voluī'
|
315
|
-
assert_equal Linguistics::Latin::Verb::
|
315
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
316
316
|
|
317
317
|
assert_equal "volō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
318
318
|
assert_equal "vīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -367,7 +367,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
367
367
|
end
|
368
368
|
def test_to_be_able
|
369
369
|
v = Linguistics::Latin::Verb::LatinVerb.new 'queō quīre quīvī'
|
370
|
-
assert_equal Linguistics::Latin::Verb::
|
370
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
371
371
|
|
372
372
|
assert_equal "queō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
373
373
|
assert_equal "quīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -424,7 +424,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
424
424
|
end
|
425
425
|
def test_to_be_able2
|
426
426
|
v = Linguistics::Latin::Verb::LatinVerb.new 'possum posse potuī'
|
427
|
-
assert_equal Linguistics::Latin::Verb::
|
427
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
428
428
|
|
429
429
|
assert_equal "possum",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
430
430
|
assert_equal "potes",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -481,7 +481,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
481
481
|
end
|
482
482
|
def test_to_be_made
|
483
483
|
v = Linguistics::Latin::Verb::LatinVerb.new 'fiō fiērī factus'
|
484
|
-
assert_equal Linguistics::Latin::Verb::
|
484
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
485
485
|
|
486
486
|
assert_equal "fiō",v.passive_voice_indicative_mood_present_tense_first_person_singular_number
|
487
487
|
assert_equal "fīs",v.passive_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -532,7 +532,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
532
532
|
end
|
533
533
|
def test_to_help
|
534
534
|
v = Linguistics::Latin::Verb::LatinVerb.new 'prōsum prōdesse prōfuī prōfutūrus'
|
535
|
-
assert_equal Linguistics::Latin::Verb::
|
535
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
536
536
|
|
537
537
|
#cf. A&G198
|
538
538
|
assert_equal "prōsum", v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
@@ -558,7 +558,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
558
558
|
assert_equal "prōfuerimus", v.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number
|
559
559
|
|
560
560
|
# Subjunctive
|
561
|
-
|
561
|
+
|
562
562
|
assert_equal "prōsim", v.active_voice_subjunctive_mood_present_tense_first_person_singular_number
|
563
563
|
assert_equal "prōsīs", v.active_voice_subjunctive_mood_present_tense_second_person_singular_number
|
564
564
|
assert_equal "prōsit", v.active_voice_subjunctive_mood_present_tense_third_person_singular_number
|
@@ -579,10 +579,11 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
579
579
|
|
580
580
|
assert_equal "prōdēs", v.active_voice_imperative_mood_present_tense_second_person_singular_number
|
581
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
|
582
|
+
assert_equal "prōdestō",v.active_voice_imperative_mood_future_tense_second_person_singular_number
|
583
583
|
assert_equal "prōdestōte", v.active_voice_imperative_mood_future_tense_second_person_plural_number
|
584
584
|
|
585
|
-
assert_equal 'prōdesse', v.
|
585
|
+
assert_equal 'prōdesse', v.present_active_infinitive
|
586
|
+
|
586
587
|
assert_equal 'prōfuisse', v.perfect_active_infinitive
|
587
588
|
assert_match %r"prōfutūru[ms] esse", v.future_active_infinitive
|
588
589
|
|
@@ -593,7 +594,7 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
593
594
|
|
594
595
|
def test_to_prefer
|
595
596
|
v = Linguistics::Latin::Verb::LatinVerb.new 'mālō mālle māluī'
|
596
|
-
assert_equal Linguistics::Latin::Verb::
|
597
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
597
598
|
|
598
599
|
assert_equal "mālō",v.active_voice_indicative_mood_present_tense_first_person_singular_number
|
599
600
|
assert_equal "māvīs",v.active_voice_indicative_mood_present_tense_second_person_singular_number
|
@@ -643,9 +644,9 @@ class TestIrregulars< MiniTest::Unit::TestCase # :nodoc:
|
|
643
644
|
assert_equal '', v.future_active_participle
|
644
645
|
assert_equal '', v.future_passive_participle
|
645
646
|
end
|
646
|
-
def test_to_be_meaning
|
647
|
+
def test_to_be_meaning
|
647
648
|
v = Linguistics::Latin::Verb::LatinVerb.new 'sum esse fuī futūrus'
|
648
|
-
assert_equal Linguistics::Latin::Verb::
|
649
|
+
assert_equal Linguistics::Latin::Verb::Classification::Irregular, v.classification
|
649
650
|
assert v.active_voice_indicative_mood_present_tense.meaning, "Irregulars should respond to meaning request."
|
650
651
|
assert v.active_voice_indicative_mood_imperfect_tense.meaning
|
651
652
|
end
|
data/test/testLatinVerb.rb
CHANGED
@@ -3,11 +3,10 @@ require 'macronconversions'
|
|
3
3
|
|
4
4
|
# ...by others
|
5
5
|
require "minitest/autorun"
|
6
|
-
require 'pp'
|
7
6
|
|
8
7
|
# Internal dependencies
|
9
|
-
require 'linguistics/latin/verb/latinverb/classmethods'
|
10
|
-
require 'linguistics/latin/verb/classification_types'
|
8
|
+
#require 'linguistics/latin/verb/latinverb/classmethods'
|
9
|
+
#require 'linguistics/latin/verb/classification_types'
|
11
10
|
|
12
11
|
$:.unshift File.join(File.dirname(__FILE__), *%w[.. lib])
|
13
12
|
require 'latinverb'
|
@@ -20,7 +19,7 @@ class TestLatinVerb < MiniTest::Unit::TestCase # :nodoc:
|
|
20
19
|
end
|
21
20
|
|
22
21
|
def _create_paradigmatic_examples
|
23
|
-
@verb_hash_latex_style = {
|
22
|
+
@verb_hash_latex_style = {
|
24
23
|
:@aFirstString => %q{am\={o} am\={a}re am\={a}v\={\i} amatum},
|
25
24
|
:@aSecondString => %q{mone\={o} mon\={e}re monu\={\i} monitum},
|
26
25
|
:@aThirdString => %q{ag\={o} agere \={e}g\={\i} actum},
|
@@ -33,7 +32,7 @@ class TestLatinVerb < MiniTest::Unit::TestCase # :nodoc:
|
|
33
32
|
end
|
34
33
|
|
35
34
|
@verb_hash_utf8_style = {
|
36
|
-
:@aFirstString => 'amō amāre amāvī amatum',
|
35
|
+
:@aFirstString => 'amō amāre amāvī amatum',
|
37
36
|
:@aSecondString => 'moneō monēre monuī monitum',
|
38
37
|
:@aThirdString => 'agō agere ēgī actum',
|
39
38
|
:@aThirdIOString => 'capiō capere cēpī capitum',
|
@@ -41,6 +40,14 @@ class TestLatinVerb < MiniTest::Unit::TestCase # :nodoc:
|
|
41
40
|
}
|
42
41
|
|
43
42
|
@verb_hash_classifications = {
|
43
|
+
:@aFirstString => Linguistics::Latin::Verb::Classification::Regular,
|
44
|
+
:@aSecondString => Linguistics::Latin::Verb::Classification::Regular,
|
45
|
+
:@aThirdString => Linguistics::Latin::Verb::Classification::Regular,
|
46
|
+
:@aThirdIOString => Linguistics::Latin::Verb::Classification::Regular,
|
47
|
+
:@aFourthString => Linguistics::Latin::Verb::Classification::Regular
|
48
|
+
}
|
49
|
+
|
50
|
+
@verb_hash_verb_types = {
|
44
51
|
:@aFirstString => Linguistics::Latin::Verb::VerbTypes::First,
|
45
52
|
:@aSecondString => Linguistics::Latin::Verb::VerbTypes::Second,
|
46
53
|
:@aThirdString => Linguistics::Latin::Verb::VerbTypes::Third,
|
@@ -72,59 +79,45 @@ class TestLatinVerb < MiniTest::Unit::TestCase # :nodoc:
|
|
72
79
|
:@aThirdIOString => "capiē",
|
73
80
|
:@aFourthString => "audiē"
|
74
81
|
}
|
75
|
-
|
76
|
-
end
|
77
|
-
|
78
|
-
def test_metaprogramming
|
79
|
-
tc = Linguistics::Latin::Verb::LatinVerb.new 'amō amāre amāvī amatum'
|
80
|
-
|
81
|
-
# Test the real method that comes by part of the extension
|
82
|
-
assert_respond_to(tc, :latin_active_voice_indicative_mood_imperfect_tense_third_person_singular_number)
|
83
|
-
|
84
|
-
# Test the facade method
|
85
|
-
assert_respond_to tc, :active_voice_indicative_mood_imperfect_tense_third_person_singular_number
|
86
|
-
assert_respond_to tc, :respondable_methods
|
87
|
-
|
88
|
-
# Make sure that stuff that /shouldn't/ be respected is not respected
|
89
|
-
assert not( tc.respond_to? :zabumiwhorter)
|
90
|
-
assert_raises(NoMethodError) do
|
91
|
-
tc.zabumiwhorter
|
92
82
|
end
|
93
83
|
|
94
|
-
|
84
|
+
def test_metaprogramming
|
85
|
+
tc = Linguistics::Latin::Verb::LatinVerb.new 'amō amāre amāvī amatum'
|
86
|
+
|
87
|
+
# Test the real method that comes by part of the extension
|
88
|
+
assert_respond_to(tc, :latin_active_voice_indicative_mood_imperfect_tense_third_person_singular_number)
|
95
89
|
|
96
|
-
|
97
|
-
|
98
|
-
|
90
|
+
# Test the facade method
|
91
|
+
assert_respond_to tc, :active_voice_indicative_mood_imperfect_tense_third_person_singular_number
|
92
|
+
assert_respond_to tc, :respondable_methods
|
99
93
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
94
|
+
# Make sure that stuff that /shouldn't/ be respected is not respected
|
95
|
+
assert not( tc.respond_to? :zabumiwhorter), "Should not respond to :zabumiwhorter"
|
96
|
+
assert_raises(NoMethodError) do
|
97
|
+
tc.zabumiwhorter
|
98
|
+
end
|
105
99
|
end
|
106
|
-
end
|
107
100
|
|
108
|
-
def test_verbvector
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
101
|
+
def test_verbvector
|
102
|
+
tc = Linguistics::Latin::Verb::LatinVerb.new 'amō amāre amāvī amatum'
|
103
|
+
assert tc
|
104
|
+
assert tc.tense_list
|
105
|
+
assert tc.tense_list.length
|
106
|
+
assert_equal 22, tc.tense_list.length
|
107
|
+
assert_respond_to(tc, :active_voice_indicative_mood_imperfect_tense_third_person_singular_number)
|
108
|
+
tc.tense_list.each do |cluster_method|
|
109
|
+
assert tc.respond_to? cluster_method.to_sym
|
110
|
+
end
|
111
|
+
assert_equal 132, tc.vector_list.length
|
117
112
|
end
|
118
|
-
assert_equal 132, tc.vector_list.length
|
119
|
-
end
|
120
113
|
|
121
114
|
def test_defective_verbs
|
122
115
|
defectives = ['meminī meminisse', 'ōdī ōdisse', 'coepī coepisse coeptum']
|
123
116
|
defectives.reverse.each do |iv|
|
124
117
|
v = Linguistics::Latin::Verb::LatinVerb.new(iv)
|
125
118
|
assert v.irregular?
|
126
|
-
assert_match /.../ , v.active_voice_indicative_mood_perfect_tense_first_person_singular_number
|
127
|
-
|
119
|
+
assert_match( /.../ , v.active_voice_indicative_mood_perfect_tense_first_person_singular_number )
|
120
|
+
|
128
121
|
end
|
129
122
|
end
|
130
123
|
|
@@ -137,22 +130,23 @@ end
|
|
137
130
|
# Test the creation of stems
|
138
131
|
def test_stem_production
|
139
132
|
@verb_hash_utf8_style.each_pair do |k,v|
|
140
|
-
|
141
|
-
|
142
|
-
end
|
133
|
+
result = Linguistics::Latin::Verb::LatinVerb.new(v).instance_eval { stem }
|
134
|
+
assert_equal @verb_hash_stems[k], result
|
135
|
+
end
|
143
136
|
end
|
144
137
|
|
145
138
|
# Test the classifications
|
146
139
|
def test_classifications
|
147
140
|
@verb_hash_utf8_style.each_pair do |k,v|
|
148
|
-
|
149
|
-
|
141
|
+
c = Linguistics::Latin::Verb::LatinVerb::LatinVerbClassifier.new(v)
|
142
|
+
cf = c.classification
|
143
|
+
assert_equal cf, @verb_hash_classifications[k]
|
150
144
|
end
|
151
145
|
end
|
152
146
|
|
153
147
|
def test_participial_stem_creation
|
154
148
|
@verb_hash_utf8_style.each_pair do |k,v|
|
155
|
-
a = v.split /\s+/
|
149
|
+
a = v.split( /\s+/ )
|
156
150
|
assert_equal(@verb_hash_participial_stems[k],
|
157
151
|
Linguistics::Latin::Verb::LatinVerb.calculate_participial_stem(a[0], a[1]))
|
158
152
|
end
|
@@ -176,7 +170,7 @@ end
|
|
176
170
|
# Make sure that the dependencies are working so that we know the
|
177
171
|
# paradigmatic examples get created safely.
|
178
172
|
def test_macron_conversions
|
179
|
-
assert_equal('amō amāre amāvī amatum',
|
173
|
+
assert_equal('amō amāre amāvī amatum',
|
180
174
|
Text::Latex::Util::Macronconversions.convert(@aFirstString))
|
181
175
|
assert_equal( 'moneō monēre monuī monitum',
|
182
176
|
Text::Latex::Util::Macronconversions.convert(@aSecondString))
|
@@ -189,7 +183,4 @@ end
|
|
189
183
|
end
|
190
184
|
end
|
191
185
|
|
192
|
-
|
193
|
-
#
|
194
|
-
|
195
186
|
# end
|
@@ -28,87 +28,87 @@ class TestLatinVerbSecondConj < MiniTest::Unit::TestCase # :nodoc:
|
|
28
28
|
assert_equal("monēmus", @aSecond.active_voice_indicative_mood_present_tense_first_person_plural_number.to_s)
|
29
29
|
assert_equal("monētis", @aSecond.active_voice_indicative_mood_present_tense_second_person_plural_number.to_s)
|
30
30
|
assert_equal("monent", @aSecond.active_voice_indicative_mood_present_tense_third_person_plural_number.to_s)
|
31
|
-
|
31
|
+
|
32
32
|
assert_equal("monēbam", @aSecond.active_voice_indicative_mood_imperfect_tense_first_person_singular_number.to_s)
|
33
33
|
assert_equal("monēbās", @aSecond.active_voice_indicative_mood_imperfect_tense_second_person_singular_number.to_s)
|
34
34
|
assert_equal("monēbat", @aSecond.active_voice_indicative_mood_imperfect_tense_third_person_singular_number.to_s)
|
35
35
|
assert_equal("monēbāmus", @aSecond.active_voice_indicative_mood_imperfect_tense_first_person_plural_number.to_s)
|
36
36
|
assert_equal("monēbātis", @aSecond.active_voice_indicative_mood_imperfect_tense_second_person_plural_number.to_s)
|
37
37
|
assert_equal("monēbant", @aSecond.active_voice_indicative_mood_imperfect_tense_third_person_plural_number.to_s)
|
38
|
-
|
38
|
+
|
39
39
|
assert_equal("monēbō", @aSecond.active_voice_indicative_mood_future_tense_first_person_singular_number.to_s)
|
40
40
|
assert_equal("monēbis", @aSecond.active_voice_indicative_mood_future_tense_second_person_singular_number.to_s)
|
41
41
|
assert_equal("monēbit", @aSecond.active_voice_indicative_mood_future_tense_third_person_singular_number.to_s)
|
42
42
|
assert_equal("monēbimus", @aSecond.active_voice_indicative_mood_future_tense_first_person_plural_number.to_s)
|
43
43
|
assert_equal("monēbitis", @aSecond.active_voice_indicative_mood_future_tense_second_person_plural_number.to_s)
|
44
44
|
assert_equal("monēbunt", @aSecond.active_voice_indicative_mood_future_tense_third_person_plural_number.to_s)
|
45
|
-
|
45
|
+
|
46
46
|
assert_equal("monuī", @aSecond.active_voice_indicative_mood_perfect_tense_first_person_singular_number.to_s)
|
47
47
|
assert_equal("monuistī", @aSecond.active_voice_indicative_mood_perfect_tense_second_person_singular_number.to_s)
|
48
48
|
assert_equal("monuit", @aSecond.active_voice_indicative_mood_perfect_tense_third_person_singular_number.to_s)
|
49
49
|
assert_equal("monuimus", @aSecond.active_voice_indicative_mood_perfect_tense_first_person_plural_number.to_s)
|
50
50
|
assert_equal("monuistis", @aSecond.active_voice_indicative_mood_perfect_tense_second_person_plural_number.to_s)
|
51
51
|
assert_equal("monuērunt", @aSecond.active_voice_indicative_mood_perfect_tense_third_person_plural_number.to_s)
|
52
|
-
|
52
|
+
|
53
53
|
assert_equal("monueram", @aSecond.active_voice_indicative_mood_pastperfect_tense_first_person_singular_number.to_s)
|
54
54
|
assert_equal("monuerās", @aSecond.active_voice_indicative_mood_pastperfect_tense_second_person_singular_number.to_s)
|
55
55
|
assert_equal("monuerat", @aSecond.active_voice_indicative_mood_pastperfect_tense_third_person_singular_number.to_s)
|
56
56
|
assert_equal("monuerāmus", @aSecond.active_voice_indicative_mood_pastperfect_tense_first_person_plural_number.to_s)
|
57
57
|
assert_equal("monuerātis", @aSecond.active_voice_indicative_mood_pastperfect_tense_second_person_plural_number.to_s)
|
58
58
|
assert_equal("monuerant", @aSecond.active_voice_indicative_mood_pastperfect_tense_third_person_plural_number.to_s)
|
59
|
-
|
59
|
+
|
60
60
|
assert_equal("monuerō", @aSecond.active_voice_indicative_mood_futureperfect_tense_first_person_singular_number.to_s)
|
61
61
|
assert_equal("monueris", @aSecond.active_voice_indicative_mood_futureperfect_tense_second_person_singular_number.to_s)
|
62
62
|
assert_equal("monuerit", @aSecond.active_voice_indicative_mood_futureperfect_tense_third_person_singular_number.to_s)
|
63
63
|
assert_equal("monuerimus", @aSecond.active_voice_indicative_mood_futureperfect_tense_first_person_plural_number.to_s)
|
64
64
|
assert_equal("monueritis", @aSecond.active_voice_indicative_mood_futureperfect_tense_second_person_plural_number.to_s)
|
65
65
|
assert_equal("monuerint", @aSecond.active_voice_indicative_mood_futureperfect_tense_third_person_plural_number.to_s)
|
66
|
-
|
66
|
+
|
67
67
|
#Passive Present
|
68
|
-
|
68
|
+
|
69
69
|
assert_equal("moneor", @aSecond.passive_voice_indicative_mood_present_tense_first_person_singular_number.to_s)
|
70
70
|
assert_equal("monēris", @aSecond.passive_voice_indicative_mood_present_tense_second_person_singular_number.to_s)
|
71
71
|
assert_equal("monētur", @aSecond.passive_voice_indicative_mood_present_tense_third_person_singular_number.to_s)
|
72
72
|
assert_equal("monēmur", @aSecond.passive_voice_indicative_mood_present_tense_first_person_plural_number.to_s)
|
73
73
|
assert_equal("monēminī", @aSecond.passive_voice_indicative_mood_present_tense_second_person_plural_number.to_s)
|
74
74
|
assert_equal("monentur", @aSecond.passive_voice_indicative_mood_present_tense_third_person_plural_number.to_s)
|
75
|
-
|
75
|
+
|
76
76
|
assert_equal("monēbar", @aSecond.passive_voice_indicative_mood_imperfect_tense_first_person_singular_number.to_s)
|
77
77
|
assert_equal("monēbāris", @aSecond.passive_voice_indicative_mood_imperfect_tense_second_person_singular_number.to_s)
|
78
78
|
assert_equal("monēbātur", @aSecond.passive_voice_indicative_mood_imperfect_tense_third_person_singular_number.to_s)
|
79
79
|
assert_equal("monēbāmur", @aSecond.passive_voice_indicative_mood_imperfect_tense_first_person_plural_number.to_s)
|
80
80
|
assert_equal("monēbāminī", @aSecond.passive_voice_indicative_mood_imperfect_tense_second_person_plural_number.to_s)
|
81
81
|
assert_equal("monēbantur", @aSecond.passive_voice_indicative_mood_imperfect_tense_third_person_plural_number.to_s)
|
82
|
-
|
82
|
+
|
83
83
|
assert_equal("monēbor", @aSecond.passive_voice_indicative_mood_future_tense_first_person_singular_number.to_s)
|
84
84
|
assert_equal("monēberis", @aSecond.passive_voice_indicative_mood_future_tense_second_person_singular_number.to_s)
|
85
85
|
assert_equal("monēbitur", @aSecond.passive_voice_indicative_mood_future_tense_third_person_singular_number.to_s)
|
86
86
|
assert_equal("monēbimur", @aSecond.passive_voice_indicative_mood_future_tense_first_person_plural_number.to_s)
|
87
87
|
assert_equal("monēbiminī", @aSecond.passive_voice_indicative_mood_future_tense_second_person_plural_number.to_s)
|
88
88
|
assert_equal("monēbuntur", @aSecond.passive_voice_indicative_mood_future_tense_third_person_plural_number.to_s)
|
89
|
-
|
89
|
+
|
90
90
|
#Passive perfect
|
91
91
|
assert_equal("monitum sum", @aSecond.passive_voice_indicative_mood_perfect_tense_first_person_singular_number.to_s)
|
92
92
|
assert_equal("monitum es", @aSecond.passive_voice_indicative_mood_perfect_tense_second_person_singular_number.to_s)
|
93
93
|
assert_equal("monitum est", @aSecond.passive_voice_indicative_mood_perfect_tense_third_person_singular_number.to_s)
|
94
94
|
assert_equal("monitum sumus", @aSecond.passive_voice_indicative_mood_perfect_tense_first_person_plural_number.to_s)
|
95
95
|
assert_equal("monitum estis", @aSecond.passive_voice_indicative_mood_perfect_tense_second_person_plural_number.to_s)
|
96
|
-
assert_equal("monitum sunt", @aSecond.passive_voice_indicative_mood_perfect_tense_third_person_plural_number.to_s)
|
97
|
-
|
96
|
+
assert_equal("monitum sunt", @aSecond.passive_voice_indicative_mood_perfect_tense_third_person_plural_number.to_s)
|
97
|
+
|
98
98
|
assert_equal("monitum eram", @aSecond.passive_voice_indicative_mood_pastperfect_tense_first_person_singular_number.to_s)
|
99
99
|
assert_equal("monitum erās", @aSecond.passive_voice_indicative_mood_pastperfect_tense_second_person_singular_number.to_s)
|
100
100
|
assert_equal("monitum erat", @aSecond.passive_voice_indicative_mood_pastperfect_tense_third_person_singular_number.to_s)
|
101
101
|
assert_equal("monitum erāmus", @aSecond.passive_voice_indicative_mood_pastperfect_tense_first_person_plural_number.to_s)
|
102
102
|
assert_equal("monitum erātis", @aSecond.passive_voice_indicative_mood_pastperfect_tense_second_person_plural_number.to_s)
|
103
|
-
assert_equal("monitum erant", @aSecond.passive_voice_indicative_mood_pastperfect_tense_third_person_plural_number.to_s)
|
104
|
-
|
103
|
+
assert_equal("monitum erant", @aSecond.passive_voice_indicative_mood_pastperfect_tense_third_person_plural_number.to_s)
|
104
|
+
|
105
105
|
assert_equal("monitum erō", @aSecond.passive_voice_indicative_mood_futureperfect_tense_first_person_singular_number.to_s)
|
106
106
|
assert_equal("monitum eris", @aSecond.passive_voice_indicative_mood_futureperfect_tense_second_person_singular_number.to_s)
|
107
107
|
assert_equal("monitum erit", @aSecond.passive_voice_indicative_mood_futureperfect_tense_third_person_singular_number.to_s)
|
108
108
|
assert_equal("monitum erimus", @aSecond.passive_voice_indicative_mood_futureperfect_tense_first_person_plural_number.to_s)
|
109
109
|
assert_equal("monitum eritis", @aSecond.passive_voice_indicative_mood_futureperfect_tense_second_person_plural_number.to_s)
|
110
110
|
assert_equal("monitum erint", @aSecond.passive_voice_indicative_mood_futureperfect_tense_third_person_plural_number.to_s)
|
111
|
-
|
111
|
+
|
112
112
|
## Subjunctives
|
113
113
|
# Active
|
114
114
|
assert_equal("moneam", @aSecond.active_voice_subjunctive_mood_present_tense_first_person_singular_number.to_s)
|
@@ -117,28 +117,28 @@ class TestLatinVerbSecondConj < MiniTest::Unit::TestCase # :nodoc:
|
|
117
117
|
assert_equal("moneāmus", @aSecond.active_voice_subjunctive_mood_present_tense_first_person_plural_number.to_s)
|
118
118
|
assert_equal("moneātis", @aSecond.active_voice_subjunctive_mood_present_tense_second_person_plural_number.to_s)
|
119
119
|
assert_equal("moneant", @aSecond.active_voice_subjunctive_mood_present_tense_third_person_plural_number.to_s)
|
120
|
-
|
120
|
+
|
121
121
|
assert_equal("monērem", @aSecond.active_voice_subjunctive_mood_imperfect_tense_first_person_singular_number.to_s)
|
122
122
|
assert_equal("monērēs", @aSecond.active_voice_subjunctive_mood_imperfect_tense_second_person_singular_number.to_s)
|
123
123
|
assert_equal("monēret", @aSecond.active_voice_subjunctive_mood_imperfect_tense_third_person_singular_number.to_s)
|
124
124
|
assert_equal("monērēmus", @aSecond.active_voice_subjunctive_mood_imperfect_tense_first_person_plural_number.to_s)
|
125
125
|
assert_equal("monērētis", @aSecond.active_voice_subjunctive_mood_imperfect_tense_second_person_plural_number.to_s)
|
126
126
|
assert_equal("monērent", @aSecond.active_voice_subjunctive_mood_imperfect_tense_third_person_plural_number.to_s)
|
127
|
-
|
127
|
+
|
128
128
|
assert_equal("monuerim", @aSecond.active_voice_subjunctive_mood_perfect_tense_first_person_singular_number.to_s)
|
129
129
|
assert_equal("monuerīs", @aSecond.active_voice_subjunctive_mood_perfect_tense_second_person_singular_number.to_s)
|
130
130
|
assert_equal("monuerit", @aSecond.active_voice_subjunctive_mood_perfect_tense_third_person_singular_number.to_s)
|
131
131
|
assert_equal("monuerīmus", @aSecond.active_voice_subjunctive_mood_perfect_tense_first_person_plural_number.to_s)
|
132
132
|
assert_equal("monuerītis", @aSecond.active_voice_subjunctive_mood_perfect_tense_second_person_plural_number.to_s)
|
133
133
|
assert_equal("monuerint", @aSecond.active_voice_subjunctive_mood_perfect_tense_third_person_plural_number.to_s)
|
134
|
-
|
134
|
+
|
135
135
|
assert_equal("monuissem", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number.to_s)
|
136
136
|
assert_equal("monuissēs", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_second_person_singular_number.to_s)
|
137
137
|
assert_equal("monuisset", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_third_person_singular_number.to_s)
|
138
138
|
assert_equal("monuissēmus", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number.to_s)
|
139
139
|
assert_equal("monuissētis", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_second_person_plural_number.to_s)
|
140
140
|
assert_equal("monuissent", @aSecond.active_voice_subjunctive_mood_pastperfect_tense_third_person_plural_number.to_s)
|
141
|
-
|
141
|
+
|
142
142
|
#passive
|
143
143
|
assert_equal("monear", @aSecond.passive_voice_subjunctive_mood_present_tense_first_person_singular_number.to_s)
|
144
144
|
assert_equal("moneāris", @aSecond.passive_voice_subjunctive_mood_present_tense_second_person_singular_number.to_s)
|
@@ -146,34 +146,34 @@ class TestLatinVerbSecondConj < MiniTest::Unit::TestCase # :nodoc:
|
|
146
146
|
assert_equal("moneāmur", @aSecond.passive_voice_subjunctive_mood_present_tense_first_person_plural_number.to_s)
|
147
147
|
assert_equal("moneāminī", @aSecond.passive_voice_subjunctive_mood_present_tense_second_person_plural_number.to_s)
|
148
148
|
assert_equal("moneantur", @aSecond.passive_voice_subjunctive_mood_present_tense_third_person_plural_number.to_s)
|
149
|
-
|
149
|
+
|
150
150
|
assert_equal("monērer", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_first_person_singular_number.to_s)
|
151
151
|
assert_equal("monērēris", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_second_person_singular_number.to_s)
|
152
152
|
assert_equal("monērētur", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_third_person_singular_number.to_s)
|
153
153
|
assert_equal("monērēmur", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_first_person_plural_number.to_s)
|
154
154
|
assert_equal("monērēminī", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_second_person_plural_number.to_s)
|
155
155
|
assert_equal("monērentur", @aSecond.passive_voice_subjunctive_mood_imperfect_tense_third_person_plural_number.to_s)
|
156
|
-
|
156
|
+
|
157
157
|
assert_equal("[ monitus, monita, monitum ] sim", @aSecond.passive_voice_subjunctive_mood_perfect_tense_first_person_singular_number.to_s)
|
158
158
|
assert_equal("[ monitus, monita, monitum ] sis", @aSecond.passive_voice_subjunctive_mood_perfect_tense_second_person_singular_number.to_s)
|
159
159
|
assert_equal("[ monitus, monita, monitum ] sit", @aSecond.passive_voice_subjunctive_mood_perfect_tense_third_person_singular_number.to_s)
|
160
160
|
assert_equal("[ monitī, monitae, monita ] simus", @aSecond.passive_voice_subjunctive_mood_perfect_tense_first_person_plural_number.to_s)
|
161
161
|
assert_equal("[ monitī, monitae, monita ] sitis", @aSecond.passive_voice_subjunctive_mood_perfect_tense_second_person_plural_number.to_s)
|
162
162
|
assert_equal("[ monitī, monitae, monita ] sint", @aSecond.passive_voice_subjunctive_mood_perfect_tense_third_person_plural_number.to_s)
|
163
|
-
|
163
|
+
|
164
164
|
assert_equal("[ monitus, monita, monitum ] essem", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_first_person_singular_number.to_s)
|
165
165
|
assert_equal("[ monitus, monita, monitum ] essēs", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_second_person_singular_number.to_s)
|
166
166
|
assert_equal("[ monitus, monita, monitum ] esset", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_third_person_singular_number.to_s)
|
167
167
|
assert_equal("[ monitī, monitae, monita ] essēmus", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number.to_s)
|
168
168
|
assert_equal("[ monitī, monitae, monita ] essētis", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_second_person_plural_number.to_s)
|
169
169
|
assert_equal("[ monitī, monitae, monita ] essent", @aSecond.passive_voice_subjunctive_mood_pastperfect_tense_third_person_plural_number.to_s)
|
170
|
-
|
170
|
+
|
171
171
|
# Imperatives
|
172
172
|
assert_equal"monē", @aSecond.imperatives[0]
|
173
173
|
assert_equal"monēte", @aSecond.imperatives[1]
|
174
|
-
|
174
|
+
|
175
175
|
# Participles
|
176
|
-
assert_equal"monēns, monentis", @aSecond.present_active_participle
|
176
|
+
assert_equal"monēns, monentis", @aSecond.present_active_participle
|
177
177
|
assert_equal"monitūrus, monitūra, monitūrum", @aSecond.future_active_participle
|
178
178
|
assert_equal"monitus, monita, monitum", @aSecond.perfect_passive_participle
|
179
179
|
assert_equal"monendus, monenda, monendum", @aSecond.future_passive_participle
|
@@ -183,7 +183,7 @@ class TestLatinVerbSecondConj < MiniTest::Unit::TestCase # :nodoc:
|
|
183
183
|
assert_equal "monuīsse", @aSecond.perfect_active_infinitive
|
184
184
|
assert_equal "monitūrus esse", @aSecond.future_active_infinitive
|
185
185
|
assert_equal "monērī", @aSecond.present_passive_infinitive
|
186
|
-
assert_equal "monitus, monita, monitum esse", @aSecond.perfect_passive_infinitive
|
186
|
+
assert_equal "monitus, monita, monitum esse", @aSecond.perfect_passive_infinitive
|
187
187
|
assert_equal "monitum īrī", @aSecond.future_passive_infinitive
|
188
|
-
end
|
188
|
+
end
|
189
189
|
end
|
@@ -64,7 +64,7 @@ class TestLatinVerbThirdConj < MiniTest::Unit::TestCase # :nodoc:
|
|
64
64
|
assert_equal("ēgeritis", @aThird.active_voice_indicative_mood_futureperfect_tense_second_person_plural_number.to_s)
|
65
65
|
assert_equal("ēgerint", @aThird.active_voice_indicative_mood_futureperfect_tense_third_person_plural_number.to_s)
|
66
66
|
|
67
|
-
# Passive Present
|
67
|
+
# Passive Present
|
68
68
|
|
69
69
|
assert_equal("agor", @aThird.passive_voice_indicative_mood_present_tense_first_person_singular_number.to_s)
|
70
70
|
assert_equal("ageris", @aThird.passive_voice_indicative_mood_present_tense_second_person_singular_number.to_s)
|
@@ -87,20 +87,20 @@ class TestLatinVerbThirdConj < MiniTest::Unit::TestCase # :nodoc:
|
|
87
87
|
assert_equal("agēminī", @aThird.passive_voice_indicative_mood_future_tense_second_person_plural_number.to_s)
|
88
88
|
assert_equal("agentur", @aThird.passive_voice_indicative_mood_future_tense_third_person_plural_number.to_s)
|
89
89
|
|
90
|
-
# Passive perfect
|
90
|
+
# Passive perfect
|
91
91
|
assert_equal("actum sum", @aThird.passive_voice_indicative_mood_perfect_tense_first_person_singular_number.to_s)
|
92
92
|
assert_equal("actum es", @aThird.passive_voice_indicative_mood_perfect_tense_second_person_singular_number.to_s)
|
93
93
|
assert_equal("actum est", @aThird.passive_voice_indicative_mood_perfect_tense_third_person_singular_number.to_s)
|
94
94
|
assert_equal("actum sumus", @aThird.passive_voice_indicative_mood_perfect_tense_first_person_plural_number.to_s)
|
95
95
|
assert_equal("actum estis", @aThird.passive_voice_indicative_mood_perfect_tense_second_person_plural_number.to_s)
|
96
|
-
assert_equal("actum sunt", @aThird.passive_voice_indicative_mood_perfect_tense_third_person_plural_number.to_s)
|
96
|
+
assert_equal("actum sunt", @aThird.passive_voice_indicative_mood_perfect_tense_third_person_plural_number.to_s)
|
97
97
|
|
98
98
|
assert_equal("actum eram", @aThird.passive_voice_indicative_mood_pastperfect_tense_first_person_singular_number.to_s)
|
99
99
|
assert_equal("actum erās", @aThird.passive_voice_indicative_mood_pastperfect_tense_second_person_singular_number.to_s)
|
100
100
|
assert_equal("actum erat", @aThird.passive_voice_indicative_mood_pastperfect_tense_third_person_singular_number.to_s)
|
101
101
|
assert_equal("actum erāmus", @aThird.passive_voice_indicative_mood_pastperfect_tense_first_person_plural_number.to_s)
|
102
102
|
assert_equal("actum erātis", @aThird.passive_voice_indicative_mood_pastperfect_tense_second_person_plural_number.to_s)
|
103
|
-
assert_equal("actum erant", @aThird.passive_voice_indicative_mood_pastperfect_tense_third_person_plural_number.to_s)
|
103
|
+
assert_equal("actum erant", @aThird.passive_voice_indicative_mood_pastperfect_tense_third_person_plural_number.to_s)
|
104
104
|
|
105
105
|
assert_equal("actum erō", @aThird.passive_voice_indicative_mood_futureperfect_tense_first_person_singular_number.to_s)
|
106
106
|
assert_equal("actum eris", @aThird.passive_voice_indicative_mood_futureperfect_tense_second_person_singular_number.to_s)
|
@@ -109,8 +109,8 @@ class TestLatinVerbThirdConj < MiniTest::Unit::TestCase # :nodoc:
|
|
109
109
|
assert_equal("actum eritis", @aThird.passive_voice_indicative_mood_futureperfect_tense_second_person_plural_number.to_s)
|
110
110
|
assert_equal("actum erint", @aThird.passive_voice_indicative_mood_futureperfect_tense_third_person_plural_number.to_s)
|
111
111
|
|
112
|
-
### Subjunctives
|
113
|
-
# Active
|
112
|
+
### Subjunctives
|
113
|
+
# Active
|
114
114
|
assert_equal("agam", @aThird.active_voice_subjunctive_mood_present_tense_first_person_singular_number.to_s)
|
115
115
|
assert_equal("agās", @aThird.active_voice_subjunctive_mood_present_tense_second_person_singular_number.to_s)
|
116
116
|
assert_equal("agat", @aThird.active_voice_subjunctive_mood_present_tense_third_person_singular_number.to_s)
|
@@ -139,7 +139,7 @@ class TestLatinVerbThirdConj < MiniTest::Unit::TestCase # :nodoc:
|
|
139
139
|
assert_equal("ēgissētis", @aThird.active_voice_subjunctive_mood_pastperfect_tense_second_person_plural_number.to_s)
|
140
140
|
assert_equal("ēgissent", @aThird.active_voice_subjunctive_mood_pastperfect_tense_third_person_plural_number.to_s)
|
141
141
|
|
142
|
-
#passive
|
142
|
+
#passive
|
143
143
|
assert_equal("agar", @aThird.passive_voice_subjunctive_mood_present_tense_first_person_singular_number.to_s)
|
144
144
|
assert_equal("agāris", @aThird.passive_voice_subjunctive_mood_present_tense_second_person_singular_number.to_s)
|
145
145
|
assert_equal("agātur", @aThird.passive_voice_subjunctive_mood_present_tense_third_person_singular_number.to_s)
|
@@ -167,24 +167,24 @@ class TestLatinVerbThirdConj < MiniTest::Unit::TestCase # :nodoc:
|
|
167
167
|
assert_equal("[ actī, actae, acta ] essēmus", @aThird.passive_voice_subjunctive_mood_pastperfect_tense_first_person_plural_number.to_s)
|
168
168
|
assert_equal("[ actī, actae, acta ] essētis", @aThird.passive_voice_subjunctive_mood_pastperfect_tense_second_person_plural_number.to_s)
|
169
169
|
assert_equal("[ actī, actae, acta ] essent", @aThird.passive_voice_subjunctive_mood_pastperfect_tense_third_person_plural_number.to_s)
|
170
|
-
|
170
|
+
|
171
171
|
# Imperatives
|
172
172
|
assert_equal"age", @aThird.imperatives[0]
|
173
173
|
assert_equal"agite", @aThird.imperatives[1]
|
174
|
-
|
174
|
+
|
175
175
|
# Participles
|
176
|
-
assert_equal"agens, agentis", @aThird.present_active_participle
|
176
|
+
assert_equal"agens, agentis", @aThird.present_active_participle
|
177
177
|
assert_equal"actūrus, actūra, actūrum", @aThird.future_active_participle
|
178
178
|
assert_equal"actus, acta, actum", @aThird.perfect_passive_participle
|
179
179
|
assert_equal"agendus, agenda, agendum", @aThird.future_passive_participle
|
180
|
-
|
181
|
-
# Infinitves
|
180
|
+
|
181
|
+
# Infinitves
|
182
182
|
assert_equal "agere", @aThird.present_active_infinitive.to_s
|
183
183
|
assert_equal "ēgīsse", @aThird.perfect_active_infinitive
|
184
184
|
assert_equal "actūrus esse", @aThird.future_active_infinitive
|
185
185
|
assert_equal "agī", @aThird.present_passive_infinitive
|
186
|
-
assert_equal "actus, acta, actum esse", @aThird.perfect_passive_infinitive
|
186
|
+
assert_equal "actus, acta, actum esse", @aThird.perfect_passive_infinitive
|
187
187
|
assert_equal "actum īrī", @aThird.future_passive_infinitive
|
188
|
-
end
|
188
|
+
end
|
189
189
|
|
190
190
|
end
|