Main Neurospaces logo Genesis 2 Backwards Compatibility Bridge

Index of group ./specifications/tools/createmap


Index
Up

createmap command tests

1. Simple test of the createmap command, case 1
2. Simple test of the createmap command, case 2
3. Simple test of the createmap command, case 3
4. Simple test of the createmap command, case 4

1. Simple test of the createmap command, case 1

Startup command : src/ns-sli ..//tests/scripts/createmap1.g


1.1. Is application startup successful?

1. Expected output
genesis #0 > 

1.2. Can we enter the querymachine?

1. Executed command
call /model_container NEUROSPACES_QUERY
2. Expected output
 neurospaces > 

1.3. Can we find the elements created by the createmap command?

1. Executed command
expand /**
2. Expected output

- /proto
- /output
- /hardcoded_neutral
- /hardcoded_neutral/c
- /m
- /m/c[0]
- /m/c[1]
- /m/c[2]
- /m/c[3]
- /m/c[4]
- /m/c[5]

1.4. Are the coordinates correct of the element 0?

1. Executed command
printcoordinates c / /m/c[0]
2. Expected output
cached coordinate x = 0
cached coordinate y = 0
cached coordinate z = 0

1.5. Are the coordinates correct of the element 1?

1. Executed command
printcoordinates c / /m/c[1]
2. Expected output
cached coordinate x = 1
cached coordinate y = 0
cached coordinate z = 0

1.6. Are the coordinates correct of the element 2?

1. Executed command
printcoordinates c / /m/c[2]
2. Expected output
cached coordinate x = 0
cached coordinate y = 1
cached coordinate z = 0

1.7. Are the coordinates correct of the element 3?

1. Executed command
printcoordinates c / /m/c[3]
2. Expected output
cached coordinate x = 1
cached coordinate y = 1
cached coordinate z = 0

1.8. Are the coordinates correct of the element 4?

1. Executed command
printcoordinates c / /m/c[4]
2. Expected output
cached coordinate x = 0
cached coordinate y = 2
cached coordinate z = 0

1.9. Are the coordinates correct of the element 5?

1. Executed command
printcoordinates c / /m/c[5]
2. Expected output
cached coordinate x = 1
cached coordinate y = 2
cached coordinate z = 0

2. Simple test of the createmap command, case 2

Startup command : src/ns-sli ..//tests/scripts/createmap2.g


2.1. Is application startup successful?

1. Expected output
genesis #0 > 

2.2. Can we enter the querymachine?

1. Executed command
call /model_container NEUROSPACES_QUERY
2. Expected output
 neurospaces > 

2.3. Can we find the elements created by the createmap command?

1. Executed command
expand /**
2. Expected output

- /proto
- /output
- /hardcoded_neutral
- /hardcoded_neutral/c
- /m
- /m/c[0]
- /m/c[1]
- /m/c[2]
- /m/c[3]
- /m/c[4]
- /m/c[5]

2.4. Are the coordinates correct of the element 0?

1. Executed command
printcoordinates c / /m/c[0]
2. Expected output
cached coordinate x = 0
cached coordinate y = 0
cached coordinate z = 0

2.5. Are the coordinates correct of the element 1?

1. Executed command
printcoordinates c / /m/c[1]
2. Expected output
cached coordinate x = 1
cached coordinate y = 0
cached coordinate z = 0

2.6. Are the coordinates correct of the element 2?

1. Executed command
printcoordinates c / /m/c[2]
2. Expected output
cached coordinate x = 0
cached coordinate y = 1
cached coordinate z = 0

2.7. Are the coordinates correct of the element 3?

1. Executed command
printcoordinates c / /m/c[3]
2. Expected output
cached coordinate x = 1
cached coordinate y = 1
cached coordinate z = 0

2.8. Are the coordinates correct of the element 4?

1. Executed command
printcoordinates c / /m/c[4]
2. Expected output
cached coordinate x = 0
cached coordinate y = 2
cached coordinate z = 0

2.9. Are the coordinates correct of the element 5?

1. Executed command
printcoordinates c / /m/c[5]
2. Expected output
cached coordinate x = 1
cached coordinate y = 2
cached coordinate z = 0

3. Simple test of the createmap command, case 3

Startup command : src/ns-sli ..//tests/scripts/createmap3.g


3.1. Is application startup successful?

1. Expected output
genesis #0 > 

3.2. Can we enter the querymachine?

1. Executed command
call /model_container NEUROSPACES_QUERY
2. Expected output
 neurospaces > 

3.3. Can we find the elements created by the createmap command?

1. Executed command
expand /**
2. Expected output

- /proto
- /output
- /hardcoded_neutral
- /hardcoded_neutral/c
- /m
- /m/c[0]
- /m/c[1]
- /m/c[2]
- /m/c[3]
- /m/c[4]
- /m/c[5]

3.4. Are the coordinates correct of the element 0?

1. Executed command
printcoordinates c / /m/c[0]
2. Expected output
cached coordinate x = 0
cached coordinate y = 0
cached coordinate z = 0

3.5. Are the coordinates correct of the element 1?

1. Executed command
printcoordinates c / /m/c[1]
2. Expected output
cached coordinate x = 1
cached coordinate y = 0
cached coordinate z = 0

3.6. Are the coordinates correct of the element 2?

1. Executed command
printcoordinates c / /m/c[2]
2. Expected output
cached coordinate x = 0
cached coordinate y = 1
cached coordinate z = 0

3.7. Are the coordinates correct of the element 3?

1. Executed command
printcoordinates c / /m/c[3]
2. Expected output
cached coordinate x = 1
cached coordinate y = 1
cached coordinate z = 0

3.8. Are the coordinates correct of the element 4?

1. Executed command
printcoordinates c / /m/c[4]
2. Expected output
cached coordinate x = 0
cached coordinate y = 2
cached coordinate z = 0

3.9. Are the coordinates correct of the element 5?

1. Executed command
printcoordinates c / /m/c[5]
2. Expected output
cached coordinate x = 1
cached coordinate y = 2
cached coordinate z = 0

4. Simple test of the createmap command, case 4

Startup command : src/ns-sli ..//tests/scripts/createmap4.g


4.1. Is application startup successful?

1. Expected output
genesis #0 > 

4.2. Can we enter the querymachine?

1. Executed command
call /model_container NEUROSPACES_QUERY
2. Expected output
 neurospaces > 

4.3. Can we find the elements created by the createmap command?

1. Executed command
expand /**
2. Expected output

- /proto
- /output
- /hardcoded_neutral
- /hardcoded_neutral/c
- /m
- /m/c[0]
- /m/c[1]
- /m/c[2]
- /m/c[3]
- /m/c[4]
- /m/c[5]

4.4. Are the coordinates correct of the element 0?

1. Executed command
printcoordinates c / /m/c[0]
2. Expected output
cached coordinate x = 0
cached coordinate y = 0
cached coordinate z = 0

4.5. Are the coordinates correct of the element 1?

1. Executed command
printcoordinates c / /m/c[1]
2. Expected output
cached coordinate x = 1
cached coordinate y = 0
cached coordinate z = 0

4.6. Are the coordinates correct of the element 2?

1. Executed command
printcoordinates c / /m/c[2]
2. Expected output
cached coordinate x = 0
cached coordinate y = 1
cached coordinate z = 0

4.7. Are the coordinates correct of the element 3?

1. Executed command
printcoordinates c / /m/c[3]
2. Expected output
cached coordinate x = 1
cached coordinate y = 1
cached coordinate z = 0

4.8. Are the coordinates correct of the element 4?

1. Executed command
printcoordinates c / /m/c[4]
2. Expected output
cached coordinate x = 0
cached coordinate y = 2
cached coordinate z = 0

4.9. Are the coordinates correct of the element 5?

1. Executed command
printcoordinates c / /m/c[5]
2. Expected output
cached coordinate x = 1
cached coordinate y = 2
cached coordinate z = 0