mirror of
https://github.com/claunia/Claunia.Encoding.git
synced 2025-12-16 19:24:43 +00:00
Code cleanup.
This commit is contained in:
36
Claunia.Encoding.Tests/ATASCII.cs
Normal file
36
Claunia.Encoding.Tests/ATASCII.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// ATASCII.cs
|
||||
//
|
||||
// Author:
|
||||
// Natalia Portillo <claunia@claunia.com>
|
||||
//
|
||||
// Copyright (c) 2016 © Claunia.com
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
using System;
|
||||
namespace Claunia.Encoding.Tests
|
||||
{
|
||||
public class ATASCII
|
||||
{
|
||||
public ATASCII()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
2016-08-19 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* LisaRoman.cs: Code cleanup.
|
||||
|
||||
2016-08-18 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* LisaRoman.cs:
|
||||
|
||||
@@ -25,11 +25,10 @@
|
||||
// THE SOFTWARE.
|
||||
|
||||
using NUnit.Framework;
|
||||
using Claunia.Encoding;
|
||||
|
||||
namespace Claunia.Encoding.Tests
|
||||
{
|
||||
[TestFixture()]
|
||||
[TestFixture]
|
||||
public class LisaRoman
|
||||
{
|
||||
const string Punctuations = "!\"#$%&()*+,-./:;<=>?@[\\]^_{|}~";
|
||||
@@ -62,7 +61,7 @@ namespace Claunia.Encoding.Tests
|
||||
const string Mathematics = "≠∞±≤≥µ∂∑∏π∫Ω¬√ƒ≈∆÷◊";
|
||||
readonly byte[] MathematicsBytes = { 0xAD, 0xB0, 0xB1, 0xB2, 0xB3, 0xB5, 0xB6, 0xB7, 0xB8, 0xB9, 0xBA, 0xBD, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xD6, 0xD7 };
|
||||
|
||||
[Test()]
|
||||
[Test]
|
||||
public void UnicodeToLisa()
|
||||
{
|
||||
byte[] byteArray;
|
||||
@@ -95,7 +94,7 @@ namespace Claunia.Encoding.Tests
|
||||
Assert.AreEqual(MathematicsBytes, byteArray);
|
||||
}
|
||||
|
||||
[Test()]
|
||||
[Test]
|
||||
public void LisaToUnicode()
|
||||
{
|
||||
string testString;
|
||||
@@ -128,7 +127,7 @@ namespace Claunia.Encoding.Tests
|
||||
Assert.AreEqual(Mathematics, testString);
|
||||
}
|
||||
|
||||
[Test()]
|
||||
[Test]
|
||||
public void LisaPangrams()
|
||||
{
|
||||
byte[] byteArray;
|
||||
|
||||
36
Claunia.Encoding/ATASCII.cs
Normal file
36
Claunia.Encoding/ATASCII.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// ATASCII.cs
|
||||
//
|
||||
// Author:
|
||||
// Natalia Portillo <claunia@claunia.com>
|
||||
//
|
||||
// Copyright (c) 2016 © Claunia.com
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files (the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions:
|
||||
//
|
||||
// The above copyright notice and this permission notice shall be included in
|
||||
// all copies or substantial portions of the Software.
|
||||
//
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
// THE SOFTWARE.
|
||||
using System;
|
||||
namespace Claunia.Encoding
|
||||
{
|
||||
public class ATASCII
|
||||
{
|
||||
public ATASCII()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user