Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions test_team_aggie_annihilators.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ def test_show_aggie_pride(self):

def test_aba_routing_number(self):
"""Test ABA_ROUTING_NUMBER functionality"""
# Positive test case - basic format
aba = 'my australian routing number'
result = analyze_text(acn, ['aba_routing_number'])
self.assertEqual(len(result), 1)
self.assertEqual(result[0].entity_type, 'aba_routing_number')

# Try without 'ACN' prefix
aba_no_prefix = 'My routing number is 123456789'
result = analyze_text(aba_no_prefix, ['aba_routing_number'])
self.assertEqual(len(result), 1)

# negative test case
result = analyze_text('Routing is required', ['aba_routing_number'])
self.assertEqual(result, [])

def test_au_abn(self):
"""Test AU_ABN functionality"""
Expand Down
Loading