trackler 2.2.1.80 → 2.2.1.81

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/lib/trackler/version.rb +1 -1
  3. data/problem-specifications/exercises/bob/canonical-data.json +76 -26
  4. data/problem-specifications/exercises/isbn-verifier/canonical-data.json +9 -1
  5. data/problem-specifications/exercises/luhn/canonical-data.json +40 -14
  6. data/tracks/bash/CONTRIBUTING.md +3 -3
  7. data/tracks/bash/exercises/error-handling/README.md +15 -0
  8. data/tracks/bash/exercises/hello-world/{HINTS.md → .meta/hints.md} +1 -1
  9. data/tracks/csharp/config.json +24 -0
  10. data/tracks/csharp/exercises/binary/Binary.cs +9 -0
  11. data/tracks/csharp/exercises/binary/Binary.csproj +17 -0
  12. data/tracks/csharp/exercises/binary/BinaryTest.cs +94 -0
  13. data/tracks/csharp/exercises/binary/Example.cs +24 -0
  14. data/tracks/csharp/exercises/binary/README.md +41 -0
  15. data/tracks/csharp/exercises/hexadecimal/Example.cs +41 -0
  16. data/tracks/csharp/exercises/hexadecimal/Hexadecimal.cs +9 -0
  17. data/tracks/csharp/exercises/hexadecimal/Hexadecimal.csproj +17 -0
  18. data/tracks/csharp/exercises/hexadecimal/HexadecimalTest.cs +65 -0
  19. data/tracks/csharp/exercises/hexadecimal/README.md +20 -0
  20. data/tracks/csharp/exercises/octal/Example.cs +24 -0
  21. data/tracks/csharp/exercises/octal/Octal.cs +9 -0
  22. data/tracks/csharp/exercises/octal/Octal.csproj +17 -0
  23. data/tracks/csharp/exercises/octal/OctalTest.cs +88 -0
  24. data/tracks/csharp/exercises/octal/README.md +55 -0
  25. data/tracks/csharp/exercises/trinary/Example.cs +24 -0
  26. data/tracks/csharp/exercises/trinary/README.md +34 -0
  27. data/tracks/csharp/exercises/trinary/Trinary.cs +9 -0
  28. data/tracks/csharp/exercises/trinary/Trinary.csproj +17 -0
  29. data/tracks/csharp/exercises/trinary/TrinaryTest.cs +70 -0
  30. data/tracks/delphi/exercises/isbn-verifier/uTestISBNVerifier.pas +12 -0
  31. data/tracks/fsharp/config.json +21 -1
  32. data/tracks/fsharp/exercises/binary/Binary.fs +3 -0
  33. data/tracks/fsharp/exercises/binary/Binary.fsproj +23 -0
  34. data/tracks/fsharp/exercises/binary/BinaryTest.fs +67 -0
  35. data/tracks/fsharp/exercises/binary/Example.fs +13 -0
  36. data/tracks/fsharp/exercises/binary/Program.fs +1 -0
  37. data/tracks/fsharp/exercises/binary/README.md +35 -0
  38. data/tracks/fsharp/exercises/hexadecimal/Example.fs +14 -0
  39. data/tracks/fsharp/exercises/hexadecimal/Hexadecimal.fs +3 -0
  40. data/tracks/fsharp/exercises/hexadecimal/Hexadecimal.fsproj +23 -0
  41. data/tracks/fsharp/exercises/hexadecimal/HexadecimalTest.fs +47 -0
  42. data/tracks/fsharp/exercises/hexadecimal/Program.fs +1 -0
  43. data/tracks/fsharp/exercises/hexadecimal/README.md +14 -0
  44. data/tracks/fsharp/exercises/octal/Example.fs +10 -0
  45. data/tracks/fsharp/exercises/octal/Octal.fs +3 -0
  46. data/tracks/fsharp/exercises/octal/Octal.fsproj +23 -0
  47. data/tracks/fsharp/exercises/octal/OctalTest.fs +59 -0
  48. data/tracks/fsharp/exercises/octal/Program.fs +1 -0
  49. data/tracks/fsharp/exercises/octal/README.md +49 -0
  50. data/tracks/fsharp/exercises/transpose/TrinaryTest.fs +24 -0
  51. data/tracks/fsharp/exercises/trinary/Example.fs +13 -0
  52. data/tracks/fsharp/exercises/trinary/Program.fs +1 -0
  53. data/tracks/fsharp/exercises/trinary/README.md +28 -0
  54. data/tracks/fsharp/exercises/trinary/Trinary.fs +3 -0
  55. data/tracks/fsharp/exercises/trinary/Trinary.fsproj +23 -0
  56. data/tracks/fsharp/exercises/trinary/TrinaryTest.fs +51 -0
  57. data/tracks/lua/config.json +6 -1
  58. data/tracks/lua/exercises/accumulate/accumulate_spec.lua +27 -0
  59. data/tracks/lua/exercises/accumulate/example.lua +7 -0
  60. data/tracks/python/config.json +10 -0
  61. data/tracks/python/exercises/reverse-string/README.md +9 -0
  62. data/tracks/python/exercises/reverse-string/example.py +2 -0
  63. data/tracks/python/exercises/reverse-string/reverse_string.py +2 -0
  64. data/tracks/python/exercises/reverse-string/reverse_string_test.py +26 -0
  65. metadata +55 -3
@@ -1250,6 +1250,30 @@
1250
1250
  ],
1251
1251
  "unlocked_by": "markdown",
1252
1252
  "uuid": "a5794706-58d2-48f7-8aab-78639d7bce77"
1253
+ },
1254
+ {
1255
+ "core": false,
1256
+ "deprecated": true,
1257
+ "slug": "binary",
1258
+ "uuid": "cef7deef-54ce-4201-b263-7cd2098533f8"
1259
+ },
1260
+ {
1261
+ "core": false,
1262
+ "deprecated": true,
1263
+ "slug": "trinary",
1264
+ "uuid": "c7dd8467-87e2-4997-a96e-a04cb8b891e8"
1265
+ },
1266
+ {
1267
+ "core": false,
1268
+ "deprecated": true,
1269
+ "slug": "octal",
1270
+ "uuid": "c8555f37-9976-4f52-a5db-6a680ec8d53b"
1271
+ },
1272
+ {
1273
+ "core": false,
1274
+ "deprecated": true,
1275
+ "slug": "hexadecimal",
1276
+ "uuid": "5d30c5a0-0f69-4b79-8c7e-3b1fe6a5707f"
1253
1277
  }
1254
1278
  ],
1255
1279
  "foregone": [
@@ -0,0 +1,9 @@
1
+ using System;
2
+
3
+ public class Binary
4
+ {
5
+ public static int ToDecimal(string binary)
6
+ {
7
+ throw new NotImplementedException("You need to implement this function.");
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+
3
+ <PropertyGroup>
4
+ <TargetFramework>netcoreapp2.0</TargetFramework>
5
+ </PropertyGroup>
6
+
7
+ <ItemGroup>
8
+ <Compile Remove="Example.cs" />
9
+ </ItemGroup>
10
+
11
+ <ItemGroup>
12
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
13
+ <PackageReference Include="xunit" Version="2.3.1" />
14
+ <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
15
+ </ItemGroup>
16
+
17
+ </Project>
@@ -0,0 +1,94 @@
1
+ using Xunit;
2
+
3
+ public class BinaryTest
4
+ {
5
+ [Fact]
6
+ public void Binary_0_is_decimal_0()
7
+ {
8
+ Assert.Equal(0, Binary.ToDecimal("0"));
9
+ }
10
+
11
+ [Fact(Skip = "Remove to run test")]
12
+ public void Binary_1_is_decimal_1()
13
+ {
14
+ Assert.Equal(1, Binary.ToDecimal("1"));
15
+ }
16
+
17
+ [Fact(Skip = "Remove to run test")]
18
+ public void Binary_10_is_decimal_2()
19
+ {
20
+ Assert.Equal(2, Binary.ToDecimal("10"));
21
+ }
22
+
23
+ [Fact(Skip = "Remove to run test")]
24
+ public void Binary_11_is_decimal_3()
25
+ {
26
+ Assert.Equal(3, Binary.ToDecimal("11"));
27
+ }
28
+
29
+ [Fact(Skip = "Remove to run test")]
30
+ public void Binary_100_is_decimal_4()
31
+ {
32
+ Assert.Equal(4, Binary.ToDecimal("100"));
33
+ }
34
+
35
+ [Fact(Skip = "Remove to run test")]
36
+ public void Binary_1001_is_decimal_9()
37
+ {
38
+ Assert.Equal(9, Binary.ToDecimal("1001"));
39
+ }
40
+
41
+ [Fact(Skip = "Remove to run test")]
42
+ public void Binary_11010_is_decimal_26()
43
+ {
44
+ Assert.Equal(26, Binary.ToDecimal("11010"));
45
+ }
46
+
47
+ [Fact(Skip = "Remove to run test")]
48
+ public void Binary_10001101000_is_decimal_1128()
49
+ {
50
+ Assert.Equal(1128, Binary.ToDecimal("10001101000"));
51
+ }
52
+
53
+ [Fact(Skip = "Remove to run test")]
54
+ public void Binary_ignores_leading_zeros()
55
+ {
56
+ Assert.Equal(31, Binary.ToDecimal("000011111"));
57
+ }
58
+
59
+ [Fact(Skip = "Remove to run test")]
60
+ public void Invalid_binary_2_converts_to_decimal_0()
61
+ {
62
+ Assert.Equal(0, Binary.ToDecimal("2"));
63
+ }
64
+
65
+ [Fact(Skip = "Remove to run test")]
66
+ public void A_number_containing_a_non_binary_digit_is_invalid()
67
+ {
68
+ Assert.Equal(0, Binary.ToDecimal("01201"));
69
+ }
70
+
71
+ [Fact(Skip = "Remove to run test")]
72
+ public void A_number_with_trailing_non_binary_characters_is_invalid()
73
+ {
74
+ Assert.Equal(0, Binary.ToDecimal("10nope"));
75
+ }
76
+
77
+ [Fact(Skip = "Remove to run test")]
78
+ public void A_number_with_leading_non_binary_characters_is_invalid()
79
+ {
80
+ Assert.Equal(0, Binary.ToDecimal("nope10"));
81
+ }
82
+
83
+ [Fact(Skip = "Remove to run test")]
84
+ public void A_number_with_internal_non_binary_characters_is_invalid()
85
+ {
86
+ Assert.Equal(0, Binary.ToDecimal("10nope10"));
87
+ }
88
+
89
+ [Fact(Skip = "Remove to run test")]
90
+ public void A_number_and_a_word_whitespace_separated_is_invalid()
91
+ {
92
+ Assert.Equal(0, Binary.ToDecimal("001 nope"));
93
+ }
94
+ }
@@ -0,0 +1,24 @@
1
+ using System;
2
+ using System.Linq;
3
+
4
+ public class Binary
5
+ {
6
+ public static int ToDecimal(string binary)
7
+ {
8
+ if (IsNotValidBinary(binary)) return 0;
9
+
10
+ return binary
11
+ .Select((c, i) => int.Parse(c.ToString()) * TwoToThePowerOf(binary.Length - i - 1))
12
+ .Sum();
13
+ }
14
+
15
+ private static bool IsNotValidBinary(string binary)
16
+ {
17
+ return !binary.All(x => char.IsDigit(x) && int.Parse(x.ToString()) < 2);
18
+ }
19
+
20
+ private static int TwoToThePowerOf(int power)
21
+ {
22
+ return (int)Math.Pow(2, power);
23
+ }
24
+ }
@@ -0,0 +1,41 @@
1
+ # Binary
2
+
3
+ Convert a binary number, represented as a string (e.g. '101010'), to its decimal equivalent using first principles.
4
+
5
+ Implement binary to decimal conversion. Given a binary input
6
+ string, your program should produce a decimal output. The
7
+ program should handle invalid inputs.
8
+
9
+ ## Note
10
+ - Implement the conversion yourself.
11
+ Do not use something else to perform the conversion for you.
12
+
13
+ ## About Binary (Base-2)
14
+ Decimal is a base-10 system.
15
+
16
+ A number 23 in base 10 notation can be understood
17
+ as a linear combination of powers of 10:
18
+
19
+ - The rightmost digit gets multiplied by 10^0 = 1
20
+ - The next number gets multiplied by 10^1 = 10
21
+ - ...
22
+ - The *n*th number gets multiplied by 10^*(n-1)*.
23
+ - All these values are summed.
24
+
25
+ So: `23 => 2*10^1 + 3*10^0 => 2*10 + 3*1 = 23 base 10`
26
+
27
+ Binary is similar, but uses powers of 2 rather than powers of 10.
28
+
29
+ So: `101 => 1*2^2 + 0*2^1 + 1*2^0 => 1*4 + 0*2 + 1*1 => 4 + 1 => 5 base 10`.
30
+
31
+ ### Submitting Exercises
32
+
33
+ Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/<exerciseName>` directory.
34
+
35
+ For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`.
36
+ ## Source
37
+
38
+ All of Computer Science [http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-](http://www.wolframalpha.com/input/?i=binary&a=*C.binary-_*MathWorld-)
39
+
40
+ ## Submitting Incomplete Solutions
41
+ It's possible to submit an incomplete solution so you can see how others have completed the exercise.
@@ -0,0 +1,41 @@
1
+ using System;
2
+ using System.Collections.Generic;
3
+ using System.Linq;
4
+ using System.Text.RegularExpressions;
5
+
6
+ public class Hexadecimal
7
+ {
8
+ private static readonly Dictionary<char, int> AlphaValues = new Dictionary<char, int>
9
+ {
10
+ { 'a', 10 },
11
+ { 'b', 11 },
12
+ { 'c', 12 },
13
+ { 'd', 13 },
14
+ { 'e', 14 },
15
+ { 'f', 15 }
16
+ };
17
+
18
+ public static int ToDecimal(string value)
19
+ {
20
+ if (IsNotValidHexadecimal(value)) return 0;
21
+
22
+ return value.Select((c, i) => GetNumericValue(c) * SixteenToThePowerOf(value.Length - i - 1)).Sum();
23
+ }
24
+
25
+ private static bool IsNotValidHexadecimal(string value)
26
+ {
27
+ return Regex.IsMatch(value, "[^0-9abcdef]", RegexOptions.IgnoreCase);
28
+ }
29
+
30
+ private static int GetNumericValue(char value)
31
+ {
32
+ if (char.IsNumber(value))
33
+ return (int)char.GetNumericValue(value);
34
+ return AlphaValues[value];
35
+ }
36
+
37
+ private static int SixteenToThePowerOf(int power)
38
+ {
39
+ return (int)Math.Pow(16, power);
40
+ }
41
+ }
@@ -0,0 +1,9 @@
1
+ using System;
2
+
3
+ public class Hexadecimal
4
+ {
5
+ public static int ToDecimal(string value)
6
+ {
7
+ throw new NotImplementedException("You need to implement this function.");
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+
3
+ <PropertyGroup>
4
+ <TargetFramework>netcoreapp2.0</TargetFramework>
5
+ </PropertyGroup>
6
+
7
+ <ItemGroup>
8
+ <Compile Remove="Example.cs" />
9
+ </ItemGroup>
10
+
11
+ <ItemGroup>
12
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
13
+ <PackageReference Include="xunit" Version="2.3.1" />
14
+ <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
15
+ </ItemGroup>
16
+
17
+ </Project>
@@ -0,0 +1,65 @@
1
+ using Xunit;
2
+
3
+ public class HexadecimalTest
4
+ {
5
+ [Fact(Skip = "Remove to run test")]
6
+ public void Hexadecimal_1_is_decimal_1()
7
+ {
8
+ Assert.Equal(1, Hexadecimal.ToDecimal("1"));
9
+ }
10
+
11
+ [Fact(Skip = "Remove to run test")]
12
+ public void Hexadecimal_c_is_decimal_12()
13
+ {
14
+ Assert.Equal(12, Hexadecimal.ToDecimal("c"));
15
+ }
16
+
17
+ [Fact(Skip = "Remove to run test")]
18
+ public void Hexadecimal_10_is_decimal_16()
19
+ {
20
+ Assert.Equal(16, Hexadecimal.ToDecimal("10"));
21
+ }
22
+
23
+ [Fact(Skip = "Remove to run test")]
24
+ public void Hexadecimal_af_is_decimal_175()
25
+ {
26
+ Assert.Equal(175, Hexadecimal.ToDecimal("af"));
27
+ }
28
+
29
+ [Fact(Skip = "Remove to run test")]
30
+ public void Hexadecimal_100_is_decimal_256()
31
+ {
32
+ Assert.Equal(256, Hexadecimal.ToDecimal("100"));
33
+ }
34
+
35
+ [Fact(Skip = "Remove to run test")]
36
+ public void Hexadecimal_19ace_is_decimal_105166()
37
+ {
38
+ Assert.Equal(105166, Hexadecimal.ToDecimal("19ace"));
39
+ }
40
+
41
+ [Fact(Skip = "Remove to run test")]
42
+ public void Hexadecimal_carrot_is_decimal_0()
43
+ {
44
+ Assert.Equal(0, Hexadecimal.ToDecimal("carrot"));
45
+ }
46
+
47
+ [Fact(Skip = "Remove to run test")]
48
+ public void Hexadecimal_000000_is_decimal_0()
49
+ {
50
+ Assert.Equal(0, Hexadecimal.ToDecimal("000000"));
51
+ }
52
+
53
+ [Fact(Skip = "Remove to run test")]
54
+ public void Hexadecimal_ffffff_is_decimal_16777215()
55
+ {
56
+ Assert.Equal(16777215, Hexadecimal.ToDecimal("ffffff"));
57
+ }
58
+
59
+ [Fact(Skip = "Remove to run test")]
60
+ public void Hexadecimal_ffff00_is_decimal_16776960()
61
+ {
62
+ Assert.Equal(16776960, Hexadecimal.ToDecimal("ffff00"));
63
+ }
64
+
65
+ }
@@ -0,0 +1,20 @@
1
+ # Hexadecimal
2
+
3
+ Convert a hexadecimal number, represented as a string (e.g. "10af8c"), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion).
4
+
5
+ On the web we use hexadecimal to represent colors, e.g. green: 008000,
6
+ teal: 008080, navy: 000080).
7
+
8
+ The program should handle invalid hexadecimal strings.
9
+
10
+ ### Submitting Exercises
11
+
12
+ Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/<exerciseName>` directory.
13
+
14
+ For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`.
15
+ ## Source
16
+
17
+ All of Computer Science [http://www.wolframalpha.com/examples/NumberBases.html](http://www.wolframalpha.com/examples/NumberBases.html)
18
+
19
+ ## Submitting Incomplete Solutions
20
+ It's possible to submit an incomplete solution so you can see how others have completed the exercise.
@@ -0,0 +1,24 @@
1
+ using System;
2
+ using System.Linq;
3
+
4
+ public class Octal
5
+ {
6
+ public static int ToDecimal(string octal)
7
+ {
8
+ if (IsNotValidOctal(octal)) return 0;
9
+
10
+ return octal
11
+ .Select((c, i) => int.Parse(c.ToString()) * EightToThePowerOf(octal.Length - i - 1))
12
+ .Sum();
13
+ }
14
+
15
+ private static bool IsNotValidOctal(string octal)
16
+ {
17
+ return !octal.All(x => char.IsDigit(x) && int.Parse(x.ToString()) < 8);
18
+ }
19
+
20
+ private static int EightToThePowerOf(int power)
21
+ {
22
+ return (int)Math.Pow(8, power);
23
+ }
24
+ }
@@ -0,0 +1,9 @@
1
+ using System;
2
+
3
+ public class Octal
4
+ {
5
+ public static int ToDecimal(string octal)
6
+ {
7
+ throw new NotImplementedException("You need to implement this function.");
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ <Project Sdk="Microsoft.NET.Sdk">
2
+
3
+ <PropertyGroup>
4
+ <TargetFramework>netcoreapp2.0</TargetFramework>
5
+ </PropertyGroup>
6
+
7
+ <ItemGroup>
8
+ <Compile Remove="Example.cs" />
9
+ </ItemGroup>
10
+
11
+ <ItemGroup>
12
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
13
+ <PackageReference Include="xunit" Version="2.3.1" />
14
+ <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
15
+ </ItemGroup>
16
+
17
+ </Project>
@@ -0,0 +1,88 @@
1
+ using Xunit;
2
+
3
+ public class OctalTest
4
+ {
5
+ [Fact]
6
+ public void Octal_1_is_decimal_1()
7
+ {
8
+ Assert.Equal(1, Octal.ToDecimal("1"));
9
+ }
10
+
11
+ [Fact(Skip = "Remove to run test")]
12
+ public void Octal_10_is_decimal_8()
13
+ {
14
+ Assert.Equal(8, Octal.ToDecimal("10"));
15
+ }
16
+
17
+ [Fact(Skip = "Remove to run test")]
18
+ public void Octal_17_is_decimal_15()
19
+ {
20
+ Assert.Equal(15, Octal.ToDecimal("17"));
21
+ }
22
+
23
+ [Fact(Skip = "Remove to run test")]
24
+ public void Octal_11_is_decimal_9()
25
+ {
26
+ Assert.Equal(9, Octal.ToDecimal("11"));
27
+ }
28
+
29
+ [Fact(Skip = "Remove to run test")]
30
+ public void Octal_130_is_decimal_88()
31
+ {
32
+ Assert.Equal(88, Octal.ToDecimal("130"));
33
+ }
34
+
35
+ [Fact(Skip = "Remove to run test")]
36
+ public void Octal_2047_is_decimal_1063()
37
+ {
38
+ Assert.Equal(1063, Octal.ToDecimal("2047"));
39
+ }
40
+
41
+ [Fact(Skip = "Remove to run test")]
42
+ public void Octal_7777_is_decimal_4095()
43
+ {
44
+ Assert.Equal(4095, Octal.ToDecimal("7777"));
45
+ }
46
+
47
+ [Fact(Skip = "Remove to run test")]
48
+ public void Octal_1234567_is_decimal_342391()
49
+ {
50
+ Assert.Equal(342391, Octal.ToDecimal("1234567"));
51
+ }
52
+
53
+ [Fact(Skip = "Remove to run test")]
54
+ public void Octal_011_is_decimal_9()
55
+ {
56
+ Assert.Equal(9, Octal.ToDecimal("011"));
57
+ }
58
+
59
+ [Fact(Skip = "Remove to run test")]
60
+ public void Octal_carrot_is_decimal_0()
61
+ {
62
+ Assert.Equal(0, Octal.ToDecimal("carrot"));
63
+ }
64
+
65
+ [Fact(Skip = "Remove to run test")]
66
+ public void Octal_8_is_decimal_0()
67
+ {
68
+ Assert.Equal(0, Octal.ToDecimal("8"));
69
+ }
70
+
71
+ [Fact(Skip = "Remove to run test")]
72
+ public void Octal_9_is_decimal_0()
73
+ {
74
+ Assert.Equal(0, Octal.ToDecimal("9"));
75
+ }
76
+
77
+ [Fact(Skip = "Remove to run test")]
78
+ public void Octal_6789_is_decimal_0()
79
+ {
80
+ Assert.Equal(0, Octal.ToDecimal("6789"));
81
+ }
82
+
83
+ [Fact(Skip = "Remove to run test")]
84
+ public void Octal_abc1z_is_decimal_0()
85
+ {
86
+ Assert.Equal(0, Octal.ToDecimal("abc1z"));
87
+ }
88
+ }