15 lines
443 B
Dart
15 lines
443 B
Dart
import 'package:jadb/util/lemmatizer/rules/godan_verbs.dart';
|
|
import 'package:test/test.dart';
|
|
|
|
void main() {
|
|
test('Test Godan Verb Base Rule', () {
|
|
expect(godanVerbBase.matches('泳ぐ'), true);
|
|
expect(godanVerbBase.apply('泳ぐ'), ['泳ぐ']);
|
|
});
|
|
|
|
test('Test Godan Verb Negative Rule', () {
|
|
expect(godanVerbNegative.matches('泳がない'), true);
|
|
expect(godanVerbNegative.apply('泳がない'), ['泳ぐ']);
|
|
});
|
|
}
|