package com.racesoft.codeeval;

import org.testng.Assert;
import org.testng.annotations.Test;

/**
 * @author Silviu BURCEA (silviuburceadev@gmail.com)
 *
 * @since 0.0.1
 * @version 0.0.1
 */
@Test
public class TestArmstrongNumbers {

    private static final ArmstrongNumbers SOLVER = new ArmstrongNumbers();

    public void checkTestCase1() {
        Assert.assertTrue(SOLVER.solve(6));
    }

    public void checkTestCase2() {
        Assert.assertTrue(SOLVER.solve(153));
    }

    public void checkTestCase3() {
        Assert.assertFalse(SOLVER.solve(351));
    }
}
