import 'package:cyberhybridhub_server/spelling/spelling_answer_policy.dart'; import 'package:test/test.dart'; void main() { test('matches is case insensitive and trims whitespace', () { expect(SpellingAnswerPolicy.matches(' Accommodate ', 'accommodate'), isTrue); expect(SpellingAnswerPolicy.matches('separate', 'rhythm'), isFalse); }); }