package main

import (
	"slices"
	"testing"
)

func TestLoopBindings(t *testing.T) {
	if got := DeclaredLoop(); !slices.Equal(got, []int{1, 2, 3}) {
		t.Fatal(got)
	}
	if got := AssignedLoop(); !slices.Equal(got, []int{3, 3, 3}) {
		t.Fatal(got)
	}
}
