message: Add PartialEq<Literal> for Value unit tests
diff: @@ -210,6 +210,59 @@ impl Value {
  #[cfg(test)]
  mod tests {
  + use crate::{data::Literal, prelude::Value};
  + use bigdecimal::BigDecimal;
  +
  + #[test]
  + fn eq() {
  + use super::parse_uuid;
  + use crate::data::interval::Interval as I;
  + use std::borrow::Cow;
  + use std::str::FromStr;
  +
  + let date = |y, m, d| chrono::NaiveDate::from_ymd(y, m, d);
  +
  + let timestamp = |y, m, d, hh, mm, ss, ms| {
  + chrono::NaiveDate::from_ymd(y, m, d).and_hms_milli(hh, mm, ss, ms)
  + };
  +
  + let time = |hh, mm, ss, ms| chrono::NaiveTime::from_hms_milli(hh, mm, ss, ms);
  +
  + macro_rules! num {
  + ($num: expr) => {
  + Literal::Number(Cow::Owned(BigDecimal::from_str($num).unwrap()))
  + };
  + }
  +
  + macro_rules! text {
  + ($text: expr) => {
  + Literal::Text(Cow::Owned($text.to_owned()))
  + };
  + }
  +
  + let uuid_text = "936DA01F9ABD4d9d80C702AF85C822A8";
  + let uuid = parse_uuid(uuid_text).unwrap();
  +
  + assert_eq!(Value::Bool(true), Literal::Boolean(true));
  + assert_eq!(Value::I64(1), num!("1"));
  + assert_eq!(Value::F64(7.123), num!("7.123"));
  + assert_eq!(Value::Str("Hello".to_owned()), text!("Hello"));
  + assert_eq!(Value::Date(date(2021, 11, 20)), text!("2021-11-20"));
  + assert_ne!(Value::Date(date(2021, 11, 20)), text!("202=abcdef"));
  + assert_eq!(
  + Value::Timestamp(timestamp(2021, 11, 20, 10, 0, 0, 0)),
  + text!("2021-11-20T10:00:00Z")
  + );
  + assert_ne!(
  + Value::Timestamp(timestamp(2021, 11, 20, 10, 0, 0, 0)),
  + text!("2021-11-Hello")
  + );
  + assert_eq!(Value::Time(time(10, 0, 0, 0)), text!("10:00:00"));
  + assert_ne!(Value::Time(time(10, 0, 0, 0)), text!("FALSE"));
  + assert_eq!(Value::Interval(I::Month(1)), Literal::Interval(I::Month(1)));
  + assert_eq!(Value::Uuid(uuid), text!(uuid_text));
  + }
  +
  #[test]
  fn timestamp() {
  let timestamp = |y, m, d, hh, mm, ss, ms| {
  