// Path: src/main/java/com/fluxchess/pulse/model/Color.java
// public final class Color {
// 
// 	public static final int WHITE = 0;
// 	public static final int BLACK = 1;
// 
// 	public static final int NOCOLOR = 2;
// 
// 	public static final int[] values = {
// 			WHITE, BLACK
// 	};
// 
// 	private Color() {
// 	}
// 
// 	public static int opposite(int color) {
// 		switch (color) {
// 			case WHITE:
// 				return BLACK;
// 			case BLACK:
// 				return WHITE;
// 			default:
// 				throw new IllegalArgumentException();
// 		}
// 	}
// }


import org.junit.jupiter.api.Test;
import static com.fluxchess.pulse.model.Color.*;
import static org.assertj.core.api.Assertions.assertThat;
/*
 * Copyright 2013-2021 Phokham Nonava
 *
 * Use of this source code is governed by the MIT license that can be
 * found in the LICENSE file.
 */
package com.fluxchess.pulse.model;



class ColorTest {

	@Test
	void testValues() {
// Path: src/main/java/com/fluxchess/pulse/model/Color.java
// public final class Color {
// 
// 	public static final int WHITE = 0;
// 	public static final int BLACK = 1;
// 
// 	public static final int NOCOLOR = 2;
// 
// 	public static final int[] values = {
// 			WHITE, BLACK
// 	};
// 
// 	private Color() {
// 	}
// 
// 	public static int opposite(int color) {
// 		switch (color) {
// 			case WHITE:
// 				return BLACK;
// 			case BLACK:
// 				return WHITE;
// 			default:
// 				throw new IllegalArgumentException();
// 		}
// 	}
// }


// Path: src/test/java/com/fluxchess/pulse/model/ColorTest.java
import org.junit.jupiter.api.Test;
import static com.fluxchess.pulse.model.Color.*;
import static org.assertj.core.api.Assertions.assertThat;

/*
 * Copyright 2013-2021 Phokham Nonava
 *
 * Use of this source code is governed by the MIT license that can be
 * found in the LICENSE file.
 */
package com.fluxchess.pulse.model;



class ColorTest {

	@Test
	void testValues() {
		for (int color : Color.values) {