Test Tens Allocation



Setup defines the file configuration that we will be recording within. Here we start with a second level directory structure, partially full.

Setup
directory files contents
00 0,1,2,3,4,5,6,7,8,9 setup data 0-9
01 0,1,2,3,4,5,6,7 setup data 10-17

First we will allocate 10 numbers. This will skip over the rest of the teens so that the ten start on a modulo 10 boundary.

Allocate10
password cookie number()
no no 20
no no 30

Now we fill the teens directory and see that we go on to forty.

Record
text number()
eighteen 18
nineteen 19
twenty 40
twenty-one 41

We will check the directory list to be sure we have what we want. Here we list the full path of each file and directory we expect to find.

Directory
path() isDir()
00 yes
00/0 no
00/1 no
00/2 no
00/3 no
00/4 no
00/5 no
00/6 no
00/7 no
00/8 no
00/9 no
10 yes
10/0 no
10/1 no
10/2 no
10/3 no
10/4 no
10/5 no
10/6 no
10/7 no
10/8 no
10/9 no
20 no
30 no
40 yes
40/0 no
40/1 no

 

Last edited November 27, 2002
Return to WelcomeVisitors