﻿# tests/test_sprint_verification.py
# STEP 3 Feature 1: Verification system testing
# Lines: 25 - Test: YES - Rollback: Remove-Item

import sys
import os
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

def test_verification_points():
    """Test 4-point verification system"""
    try:
        from control_tower import ControlTower
        tower = ControlTower()
        
        # Test verify command
        tower.verify(1, 1)
        sprint = tower.sprints["sprints"]["1"]
        assert sprint["verification"]["point_1"] == True
        
        # Test multiple points
        tower.verify(1, 2)
        assert sprint["verification"]["point_2"] == True
        
        print("EVIDENCE: Verification system works")
        assert True  # Verification test passed
    except Exception as e:
        print(f"FAILED: {e}")
        assert False, "Verification test failed"

if __name__ == "__main__":
    if test_verification_points():
        print("[PASS] Verification points test")

