Stephen Seo
25dafb26b5
All checks were successful
Run UnitTests / build-and-run-tests (push) Successful in 28s
13 lines
240 B
C++
13 lines
240 B
C++
#include "helpers.hpp"
|
|
|
|
bool operator==(const Color& a, const Color& b) {
|
|
return a.r == b.r
|
|
&& a.g == b.g
|
|
&& a.b == b.b
|
|
&& a.a == b.a;
|
|
}
|
|
|
|
bool operator!=(const Color& a, const Color& b) {
|
|
return !(a == b);
|
|
}
|