﻿`` rec1 := {A:10,B:"foo10"};
`` rec2 := {A:20,B:"foo20"};
`` rec3 := {A:30,B:"foo30"};
`` rec4 := {A:40,B:"foo40"};
`` rec5 := {A:50,B:"foo50"};

// Tuples are of arity 5 to avoid falling back to test classes.

`` homr := (rec1, rec2, rec3, rec4, rec5);
`` homi := (0, 10, 20, 30, 40);
`` het := (100, "bar", 200, rec1, (2, 3));

// No constraints on step.
homr[::-1]
homr[::10]
homi[::-1]
homi[::10]

homr[1:3:]
homr[0:3:2]
homr[0:10:10]
homr[4:10:]
homr[4:10:10]
homi[1:3:]
homi[0:3:2]
homi[0:10:10]
homi[4:10:]
homi[4:10:10]

het[-1::2]
het[5:1:-1]

// No constraints on step.
het[::-1]
het[::10]

het[1:3:]
het[0:3:2]
het[0:10:10]
het[4:10:]
het[4:10:10]
