blob: 2eace84b18acb98532b45f711e61d62fbf3caa4d [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';
void main() {
test('TableVicinity converts ChildVicinity', () {
const TableVicinity vicinity = TableVicinity(column: 5, row: 10);
expect(vicinity.xIndex, 5);
expect(vicinity.yIndex, 10);
expect(vicinity.toString(), '(row: 10, column: 5)');
});
// TODO(Piinks): TableViewCell tests for merged cells, follow up change.
}