blob: e534c7674e44de5c421d8e792e9cc90b9f5208de [file] [log] [blame]
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// @assertion bool gzip
/// When true, GZip frames will be added to the compressed data.
/// @description Checks that [gzip] is set correctly with values true or false.
/// @author
import "dart:io";
import "../../../Utils/expect.dart";
main() {
ZLibCodec codec = new ZLibCodec(gzip: true);
Expect.equals(true, codec.gzip);
codec = new ZLibCodec(gzip: false);
Expect.equals(false, codec.gzip);