Mercurial > hg > Database > jungle-sharp
comparison src/test/csharp/jp.ac.u-ryukyu.ie.cr/data/treemap/TreeMapTest.cs @ 0:dec15de2c6ff
first commit
author | Kazuma |
---|---|
date | Tue, 21 Jun 2016 17:11:12 +0900 |
parents | |
children | a3af05a061b4 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dec15de2c6ff |
---|---|
1 using UnityEngine; | |
2 using System.Collections; | |
3 | |
4 public class TreeMapTest : MonoBehaviour { | |
5 private int ReturnNumber; | |
6 private bool checknull = true; | |
7 // Update is called once per frame | |
8 public void Start () { | |
9 TreeMap<int, int> map = new TreeMap<int,int>(); | |
10 Debug.Log (map); | |
11 for (int count = 5; count > -10; count--) { | |
12 map = map.put(count, count); | |
13 map.checkDepth(); | |
14 Debug.Log("------------------------------------------"); | |
15 | |
16 | |
17 } | |
18 | |
19 // for (int count = 100; count > -10; count--) { | |
20 // ReturnNumber = map.get(count); | |
21 // if(ReturnNumber == null){ | |
22 // checknull = false; | |
23 // } | |
24 // //this points null check. | |
25 // if (checknull){ | |
26 // Debug.Log(map.get()); | |
27 // } | |
28 | |
29 Debug.Log ("end"); | |
30 | |
31 } | |
32 } | |
33 |