예제 #1
0
        internal static int[] SplitInt(Oyster.Math.IntX x)
        {
            string str = x.ToString();
            int[] res = new int[str.Length];
            int idx = 0;

            foreach (char c in str)
                res[idx++] = c - '0';

            return res;
        }
예제 #2
0
 public void Setup()
 {
     oysterCard   = new Oyster(10.00);
     entryStation = new Station("Test", 1);
     exitStation  = new Station("Test1", 1);
 }