// Path: src/main/java/com/tiemens/secretshare/main/cli/MainBigIntCs.java
// public static enum Type
// {
//     bics, bi, s;
// 
//     /**
//      * @param in type to find
//      * @param argName to display if an error happens
//      * @return Type or throw exception
//      * @throws SecretShareException if 'in' is not found
//      */
//     public static Type findByString(String in, String argName)
//     {
//         Type ret = valueOf(in);
//         if (ret != null)
//         {
//             return ret;
//         }
//         else
//         {
//             throw new SecretShareException("Type value '" + in + "' not found." +
//                                            ((argName != null) ? "  Argname=" + argName : ""));
//         }
//     }
// }


import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import com.tiemens.secretshare.main.cli.MainBigIntCs.Type;
/*******************************************************************************
 * Copyright (c) 2009, 2014 Tim Tiemens.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 *
 * Contributors:
 *     Tim Tiemens - initial API and implementation
 *******************************************************************************/
package com.tiemens.secretshare.main.cli;




public class MainBigIntCsTest
{

    @Test
    public void testConvert()
    {
// Path: src/main/java/com/tiemens/secretshare/main/cli/MainBigIntCs.java
// public static enum Type
// {
//     bics, bi, s;
// 
//     /**
//      * @param in type to find
//      * @param argName to display if an error happens
//      * @return Type or throw exception
//      * @throws SecretShareException if 'in' is not found
//      */
//     public static Type findByString(String in, String argName)
//     {
//         Type ret = valueOf(in);
//         if (ret != null)
//         {
//             return ret;
//         }
//         else
//         {
//             throw new SecretShareException("Type value '" + in + "' not found." +
//                                            ((argName != null) ? "  Argname=" + argName : ""));
//         }
//     }
// }


// Path: src/test/java/com/tiemens/secretshare/main/cli/MainBigIntCsTest.java
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import com.tiemens.secretshare.main.cli.MainBigIntCs.Type;

/*******************************************************************************
 * Copyright (c) 2009, 2014 Tim Tiemens.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 *
 * Contributors:
 *     Tim Tiemens - initial API and implementation
 *******************************************************************************/
package com.tiemens.secretshare.main.cli;




public class MainBigIntCsTest
{

    @Test
    public void testConvert()
    {
        subTestConvert("Cat", Type.s, Type.s, "Cat");