Give 'be' its past participle so toPastParticiple returns 'been'

This commit is contained in:
dualfroz committed 2026-09-23 12:33:23 +02:00
1 parent 55246252c2
commit be4f52b481
2 files changed
+4

No files matched your search

@@ -20,6 +20,7 @@ const conjugate = function (inf, model) {
Gerund: 'being', Gerund: 'being',
PastTense: 'was', PastTense: 'was',
PresentTense: 'is', PresentTense: 'is',
Participle: 'been',
} }
} }
const [str, particle] = parse(inf) const [str, particle] = parse(inf)
@@ -5,6 +5,9 @@ const here = '[three/verb-toPastParticiple] '
test('toPastParticiple:', function (t) { test('toPastParticiple:', function (t) {
const arr = [ const arr = [
[`I eat breakfast every morning.`, `I have eaten breakfast every morning.`], [`I eat breakfast every morning.`, `I have eaten breakfast every morning.`],
[`I am`, `I have been`],
[`She is happy.`, `She has been happy.`],
[`They are here.`, `They have been here.`],
[`She reads a book before bed.`, `She has read a book before bed.`], [`She reads a book before bed.`, `She has read a book before bed.`],
[`He teaches math to high school students.`, `He has taught math to high school students.`], [`He teaches math to high school students.`, `He has taught math to high school students.`],
[`They walk their dog in the park.`, `They have walked their dog in the park.`], [`They walk their dog in the park.`, `They have walked their dog in the park.`],